From 61c14cbd9cac864d972da26d11b4869ab8da2484 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 7 Oct 2018 20:18:41 +0200 Subject: [PATCH] cors --- webserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver.py b/webserver.py index f2bf11c3..776fb355 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://localhost:1234" + response.headers["Access-Control-Allow-Origin"] = "https://owlcaptain.tk, http://lvh.me:1234" return response