mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 03:52:14 +00:00
Merge branch 'origin-develop'
This commit is contained in:
commit
5c7fdc7ff5
1 changed files with 1 additions and 1 deletions
|
|
@ -17,5 +17,5 @@ module.exports.view = (req, res, next) ->
|
||||||
module.exports.allowCrossDomain = (req, res, next) ->
|
module.exports.allowCrossDomain = (req, res, next) ->
|
||||||
res.header "Access-Control-Allow-Origin", '*'
|
res.header "Access-Control-Allow-Origin", '*'
|
||||||
res.header "Access-Control-Allow-Methods", "GET,PUT,POST,DELETE"
|
res.header "Access-Control-Allow-Methods", "GET,PUT,POST,DELETE"
|
||||||
res.header "Access-Control-Allow-Headers", "Content-Type,x-requested-with"
|
res.header "Access-Control-Allow-Headers", "Content-Type,x-requested-with,x-api-user,x-api-key"
|
||||||
next()
|
next()
|
||||||
Loading…
Reference in a new issue