From 8e44a99bb8226d92f287b4b73481ca6ab8fd397d Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 7 Oct 2018 20:36:04 +0200 Subject: [PATCH] cors --- webserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver.py b/webserver.py index 776fb355..e5bcd554 100644 --- a/webserver.py +++ b/webserver.py @@ -368,7 +368,7 @@ def ses_identify(): "username": fl_session.get("username"), "id": fl_session.get("user_id") }) - response.headers["Access-Control-Allow-Origin"] = "https://owlcaptain.tk, http://lvh.me:1234" + response.headers["Access-Control-Allow-Origin"] = "http://lvh.me:1234" return response