From cd44cb150d85f0f5db3da937c3382b0b7b5f27e9 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 7 Oct 2018 20:51:46 +0200 Subject: [PATCH] cors --- webserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver.py b/webserver.py index e0825e4e..1f3312c4 100644 --- a/webserver.py +++ b/webserver.py @@ -369,7 +369,7 @@ def ses_identify(): "id": fl_session.get("user_id") }) response.headers["Access-Control-Allow-Origin"] = "http://lvh.me:1234" - response.headers["Access-Control-Allow-Credentials"] = True + response.headers["Access-Control-Allow-Credentials"] = "true" return response