mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 12:02:13 +00:00
remove console.log(req.headers.origin)
This commit is contained in:
parent
399e4b9dda
commit
1ef32c771b
1 changed files with 0 additions and 1 deletions
|
|
@ -15,7 +15,6 @@ module.exports.view = (req, res, next) ->
|
|||
|
||||
#CORS middleware
|
||||
module.exports.allowCrossDomain = (req, res, next) ->
|
||||
console.log req.headers.origin
|
||||
res.header "Access-Control-Allow-Origin", (req.headers.origin || "*")
|
||||
res.header "Access-Control-Allow-Methods", "OPTIONS,GET,POST,PUT,HEAD,DELETE"
|
||||
res.header "Access-Control-Allow-Headers", "Content-Type,X-Requested-With,x-api-user,x-api-key"
|
||||
|
|
|
|||
Loading…
Reference in a new issue