mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 01:35:22 +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
|
||||
# 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
|
||||
CSP_DEFAULT_SRC = [
|
||||
CSP_DEFAULT_SRC = (
|
||||
"'self'",
|
||||
]
|
||||
)
|
||||
CSP_STYLE_SRC = ["'self'", "https://www.ssa.gov", "'unsafe-inline'"]
|
||||
CSP_SCRIPT_SRC_ELEM = [
|
||||
"'self'",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue