From 4debfcd3d4ff2d70474e07f540b1002fd1c02819 Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Sat, 4 May 2019 16:53:43 +0200
Subject: [PATCH] Add code.jquery.com to STYLE_SRC

---
 SciPost_v1/settings/base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SciPost_v1/settings/base.py b/SciPost_v1/settings/base.py
index 8db19ddab..55881d20e 100644
--- a/SciPost_v1/settings/base.py
+++ b/SciPost_v1/settings/base.py
@@ -202,7 +202,7 @@ CSP_IMG_SRC = ("'self'", 'ajax.googleapis.com', 'assets.crossref.org',
                'licensebuttons.net', 'crossmark-cdn.crossref.org')
 CSP_SCRIPT_SRC = ("'self'", "'unsafe-inline'", 'ajax.googleapis.com', 'cdnjs.cloudflare.com',
                   'crossmark-cdn.crossref.org', 'www.recaptcha.net', 'www.gstatic.com')
-CSP_STYLE_SRC = ("'self'", "'unsafe-inline'", 'ajax.googleapis.com',
+CSP_STYLE_SRC = ("'self'", "'unsafe-inline'", 'ajax.googleapis.com', 'code.jquery.com',
                  'fonts.googleapis.com', 'cdnjs.cloudflare.com')
 
 ROOT_URLCONF = 'SciPost_v1.urls'
-- 
GitLab