Update src/registrar/config/settings.py

Co-authored-by: Neil MartinsenBurrell <neil.martinsen-burrell@gsa.gov>
This commit is contained in:
CuriousX 2023-11-21 13:12:14 -07:00 committed by GitHub
parent ee2bb38e15
commit 63f67d6f0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -298,7 +298,6 @@ SERVER_EMAIL = "root@get.gov"
# Content-Security-Policy configuration # Content-Security-Policy configuration
# this can be restrictive because we have few external scripts # this can be restrictive because we have few external scripts
allowed_sources = "'self'" allowed_sources = "'self'"
allowed_sources_scripts = ["'self'", "https://www.googletagmanager.com/", "https://www.google-analytics.com/"]
CSP_DEFAULT_SRC = allowed_sources CSP_DEFAULT_SRC = allowed_sources
# Most things fall back to default-src, but the following do not and should be # Most things fall back to default-src, but the following do not and should be
# explicitly set # explicitly set