1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-28 08:37:59 +02:00

Fix (hopefully) CORS

This commit is contained in:
vrde 2015-06-15 11:55:50 +02:00
parent aac8ae2a9e
commit 07686f514f

View File

@ -19,8 +19,7 @@ fetch.defaults({
urlMap: ApiUrls,
http: {
headers: headers,
credentials: 'cors',
mode: 'cors-with-forced-preflight'
credentials: 'include'
},
fatalErrorHandler: (err) => {
console.log(err);