From 0bb8d44dabfb0925f2b56d524240cfe43b3b4ace Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Sat, 4 May 2019 15:50:44 +0200 Subject: [PATCH] Activate CSP for real (CSP_REPORT_ONLY now False on production) --- SciPost_v1/settings/production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SciPost_v1/settings/production.py b/SciPost_v1/settings/production.py index 114407891..8691f58c5 100644 --- a/SciPost_v1/settings/production.py +++ b/SciPost_v1/settings/production.py @@ -70,4 +70,4 @@ sentry_sdk.init( integrations=[DjangoIntegration()] ) CSP_REPORT_URI = get_secret('CSP_SENTRY') -CSP_REPORT_ONLY = True +CSP_REPORT_ONLY = False -- GitLab