1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-30 13:41:57 +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, 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);