Skip to content

Commit d9a3944

Browse files
committed
Remove Google Analytics domains from our Content Security Policy headers
1 parent 005141c commit d9a3944

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/middleware/security_headers.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ impl SecurityHeaders {
4646
format!(
4747
"default-src 'self'; \
4848
connect-src 'self' https://docs.rs https://{}; \
49-
script-src 'self' 'unsafe-eval' \
50-
https://www.google-analytics.com https://www.google.com; \
49+
script-src 'self' 'unsafe-eval' https://www.google.com; \
5150
style-src 'self' https://www.google.com https://ajax.googleapis.com; \
5251
img-src *; \
5352
object-src 'none'",

0 commit comments

Comments
 (0)