From f3bbe561877a0bb21d2b60c8e6d7928df68d3e9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 5 Sep 2024 15:42:13 +0200 Subject: [PATCH] chg: Do not force HTTPs, it causes weird redirecting in a loop --- website/web/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/website/web/__init__.py b/website/web/__init__.py index f95d38e8..bf06f530 100644 --- a/website/web/__init__.py +++ b/website/web/__init__.py @@ -74,6 +74,7 @@ app.debug = bool(os.environ.get('DEBUG', False)) SELF = "'self'" Talisman(app, + force_https=False, content_security_policy_nonce_in=['script-src', 'script-src-elem'], content_security_policy={ 'default-src': SELF,