Skip to content
Snippets Groups Projects
Commit 1c68ff1a authored by ale's avatar ale
Browse files

Disable SSL enforcement when testing the app

parent 5fcebfb3
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@ def init_app(app, talisman):
referrer_policy='no-referrer',
content_security_policy_report_uri=app.config.get(
'CSP_REPORT_URI', DEFAULT_CSP_REPORT_URI),
force_https=not app.config['TESTING'],
)
app.wsgi_app = WhiteNoise(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment