mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
cors
This commit is contained in:
parent
8e44a99bb8
commit
d859e283f6
1 changed files with 1 additions and 1 deletions
|
@ -369,10 +369,10 @@ def ses_identify():
|
||||||
"id": fl_session.get("user_id")
|
"id": fl_session.get("user_id")
|
||||||
})
|
})
|
||||||
response.headers["Access-Control-Allow-Origin"] = "http://lvh.me:1234"
|
response.headers["Access-Control-Allow-Origin"] = "http://lvh.me:1234"
|
||||||
|
response.headers["Access-Control-Allow-Credentials"] = True
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@app.before_request
|
@app.before_request
|
||||||
def pre_request():
|
def pre_request():
|
||||||
fl_g.event_started, fl_g.event_progress = db.Halloween.puzzle_status()
|
fl_g.event_started, fl_g.event_progress = db.Halloween.puzzle_status()
|
||||||
|
|
Loading…
Reference in a new issue