#3172 added Access-Control-Allow-Origin for auth requests

This commit is contained in:
Anna Bodnia
2017-06-08 14:06:30 +03:00
parent e2b2055b4b
commit bbf93c5e1f
5 changed files with 10 additions and 9 deletions

View File

@@ -135,6 +135,7 @@ export const authorizeRequest = ( data ) => ( { fn, authActions, errActions, aut
let _headers = Object.assign({
"Accept":"application/json, text/plain, */*",
"Access-Control-Allow-Origin": "*",
"Content-Type": "application/x-www-form-urlencoded"
}, headers)