SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 5c4bbde0 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Allow htmx cdn in csp

parent f42911b7
No related branches found
No related tags found
No related merge requests found
...@@ -244,7 +244,9 @@ CSP_SCRIPT_SRC = ("'self'", 'scipost.org', "'report-sample'", ...@@ -244,7 +244,9 @@ CSP_SCRIPT_SRC = ("'self'", 'scipost.org', "'report-sample'",
'www.recaptcha.net', 'www.gstatic.com', 'www.gstatic.cn', 'www.recaptcha.net', 'www.gstatic.com', 'www.gstatic.cn',
'code.jquery.com', 'code.jquery.com',
'static.mendeley.com', 'static.mendeley.com',
'cdn.plot.ly') 'cdn.plot.ly',
'unpkg.com/htmx.org@1.6.0'
)
CSP_STYLE_SRC = ("'self'", 'scipost.org', "'report-sample'", CSP_STYLE_SRC = ("'self'", 'scipost.org', "'report-sample'",
'crossmark-cdn.crossref.org', 'crossmark-cdn.crossref.org',
"'unsafe-inline'", 'ajax.googleapis.com', 'code.jquery.com', "'unsafe-inline'", 'ajax.googleapis.com', 'code.jquery.com',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment