chg: Do not force HTTPs, it causes weird redirecting in a loop

pull/937/head
Raphaël Vinot 2024-09-05 15:42:13 +02:00
parent 92daaaaa43
commit f3bbe56187
1 changed files with 1 additions and 0 deletions

View File

@ -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,