1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01: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);