Revert "Include cookie in every request"
This reverts commit 00589a9af1
.
Changing same-origin to the unsafer include did not fix the
bug it was supposed to.
This commit is contained in:
parent
00589a9af1
commit
298bf5cfca
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ let fetch = (url, options) => {
|
||||||
options = options || {}
|
options = options || {}
|
||||||
const baseUrl = ''
|
const baseUrl = ''
|
||||||
const fullUrl = baseUrl + url
|
const fullUrl = baseUrl + url
|
||||||
options.credentials = 'include'
|
options.credentials = 'same-origin'
|
||||||
return oldfetch(fullUrl, options)
|
return oldfetch(fullUrl, options)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue