mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
Fix (hopefully) CORS
This commit is contained in:
parent
aac8ae2a9e
commit
07686f514f
@ -19,8 +19,7 @@ fetch.defaults({
|
|||||||
urlMap: ApiUrls,
|
urlMap: ApiUrls,
|
||||||
http: {
|
http: {
|
||||||
headers: headers,
|
headers: headers,
|
||||||
credentials: 'cors',
|
credentials: 'include'
|
||||||
mode: 'cors-with-forced-preflight'
|
|
||||||
},
|
},
|
||||||
fatalErrorHandler: (err) => {
|
fatalErrorHandler: (err) => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
|
Loading…
Reference in New Issue
Block a user