update CSP for google-analytics
Signed-off-by: Brian Forbis <bforbis@athenahealth.com>
This commit is contained in:
@@ -61,7 +61,13 @@ backend:
|
||||
csp:
|
||||
connect-src: ["'self'", 'http:', 'https:']
|
||||
# Add these two lines below
|
||||
script-src: ["'self'", "'unsafe-eval'", 'https://www.google-analytics.com']
|
||||
script-src:
|
||||
[
|
||||
"'self'",
|
||||
"'unsafe-eval'",
|
||||
'https://www.google-analytics.com',
|
||||
'https://www.googletagmanager.com',
|
||||
]
|
||||
img-src: ["'self'", 'data:', 'https://www.google-analytics.com']
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user