Skip to content

Commit

Permalink
Fix the security policy issue with the new analytics script (#1809)
Browse files Browse the repository at this point in the history
* HelmetCsp: fix connectSrc for analytics script

* Fix linter issue
  • Loading branch information
xbpcb committed Nov 15, 2023
1 parent 6b41074 commit 80a1bb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/helmet-csp.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ const CSP = {
connectSrc: [
'syndication.twitter.com',
'https://api.github.com/repos/jsdelivr/bootstrapcdn',
'https://stats.g.doubleclick.net'
'https://stats.g.doubleclick.net',
'https://datum.jsdelivr.com/api/event'
],
objectSrc: ['img.shields.io'],
manifestSrc: ['\'self\'']
Expand Down

0 comments on commit 80a1bb0

Please sign in to comment.