mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 01:35:22 +02:00
Update src/registrar/config/settings.py
allowed_sources was not a tuple: https://django-csp.readthedocs.io/en/latest/configuration.html Co-authored-by: Neil MartinsenBurrell <neil.martinsen-burrell@gsa.gov>
This commit is contained in:
parent
ea94831ab4
commit
94ab136058
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ SERVER_EMAIL = "root@get.gov"
|
|||
|
||||
# Content-Security-Policy configuration
|
||||
# this can be restrictive because we have few external scripts
|
||||
allowed_sources = ("'self'")
|
||||
allowed_sources = ("'self'",)
|
||||
CSP_DEFAULT_SRC = allowed_sources
|
||||
# Most things fall back to default-src, but these two do not and should be
|
||||
# explicitly set
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue