1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00
This commit is contained in:
Steffo 2018-10-07 20:50:39 +02:00
parent 8e44a99bb8
commit d859e283f6

View file

@ -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()