Skip to content

Commit

Permalink
HelmetCsp: fix connectSrc for analytics script
Browse files Browse the repository at this point in the history
  • Loading branch information
xbpcb committed Nov 15, 2023
1 parent 6b41074 commit aec7751
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',

Check failure on line 66 in config/helmet-csp.js

View workflow job for this annotation

GitHub Actions / lint

Unexpected trailing comma.
],
objectSrc: ['img.shields.io'],
manifestSrc: ['\'self\'']
Expand Down

0 comments on commit aec7751

Please sign in to comment.