Skip to content
Snippets Groups Projects
Commit 298bf5cf authored by eal's avatar eal
Browse files

Revert "Include cookie in every request"

This reverts commit 00589a9a.
Changing same-origin to the unsafer include did not fix the
bug it was supposed to.
parent 00589a9a
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ let fetch = (url, options) => {
options = options || {}
const baseUrl = ''
const fullUrl = baseUrl + url
options.credentials = 'include'
options.credentials = 'same-origin'
return oldfetch(fullUrl, options)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment