Skip to content

Commit 80a1bb0

Browse files
authored
Fix the security policy issue with the new analytics script (#1809)
* HelmetCsp: fix connectSrc for analytics script * Fix linter issue
1 parent 6b41074 commit 80a1bb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/helmet-csp.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ const CSP = {
6262
connectSrc: [
6363
'syndication.twitter.com',
6464
'https://api.github.com/repos/jsdelivr/bootstrapcdn',
65-
'https://stats.g.doubleclick.net'
65+
'https://stats.g.doubleclick.net',
66+
'https://datum.jsdelivr.com/api/event'
6667
],
6768
objectSrc: ['img.shields.io'],
6869
manifestSrc: ['\'self\'']

0 commit comments

Comments
 (0)