mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-27 17:39:51 -04:00
Merge pull request #2861 from GSA/2859-csp-notices---daily-scans
daily scan fix CSP duplicate host warning
This commit is contained in:
@@ -170,13 +170,13 @@ def _csp(config):
|
||||
"https://dap.digitalgov.gov",
|
||||
"https://cdn.socket.io",
|
||||
],
|
||||
"connect-src": [
|
||||
"connect-src": list(dict.fromkeys([
|
||||
"'self'",
|
||||
"https://gov-bam.nr-data.net",
|
||||
"https://www.google-analytics.com",
|
||||
f"{api_public_url}",
|
||||
f"{api_public_ws_url}",
|
||||
],
|
||||
])),
|
||||
"style-src": ["'self'", asset_domain],
|
||||
"img-src": ["'self'", asset_domain],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user