mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-15 05:54:11 +02:00
Convert CSP default src to tuple
This commit is contained in:
parent
5cd5cd645a
commit
34c9cd2761
1 changed files with 2 additions and 2 deletions
|
@ -357,9 +357,9 @@ CSP_FORM_ACTION = allowed_sources
|
||||||
# strict CSP by allowing scripts to run from their domain
|
# strict CSP by allowing scripts to run from their domain
|
||||||
# and inline with a nonce, as well as allowing connections back to their domain.
|
# and inline with a nonce, as well as allowing connections back to their domain.
|
||||||
# Note: If needed, we can embed chart.js instead of using the CDN
|
# Note: If needed, we can embed chart.js instead of using the CDN
|
||||||
CSP_DEFAULT_SRC = [
|
CSP_DEFAULT_SRC = (
|
||||||
"'self'",
|
"'self'",
|
||||||
]
|
)
|
||||||
CSP_STYLE_SRC = ["'self'", "https://www.ssa.gov", "'unsafe-inline'"]
|
CSP_STYLE_SRC = ["'self'", "https://www.ssa.gov", "'unsafe-inline'"]
|
||||||
CSP_SCRIPT_SRC_ELEM = [
|
CSP_SCRIPT_SRC_ELEM = [
|
||||||
"'self'",
|
"'self'",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue