Skip to content

Commit

Permalink
Tweak policy again
Browse files Browse the repository at this point in the history
  • Loading branch information
ollieri3 committed Apr 6, 2024
1 parent 7a7d9df commit 70fd12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware/general.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const helmetMiddleware = helmet({
contentSecurityPolicy: {
directives: {
"img-src": ["'self'", "data:", "img.shields.io"], // Allow img.shields.io for footer badges
"script-src": ["'self'", "cloudflareinsights.com"], // Allow Cloudflare analytics
"script-src": ["'self'", "*.cloudflareinsights.com"], // Allow Cloudflare analytics
},
},
});
Expand Down

0 comments on commit 70fd12f

Please sign in to comment.