Skip to content

Commit

Permalink
fix: content security policy adds cloudflare as origin
Browse files Browse the repository at this point in the history
  • Loading branch information
OnlyNico43 committed Aug 8, 2024
1 parent fcaa107 commit 11d16ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

// https://securityheaders.com
const ContentSecurityPolicy = `
default-src 'self';
script-src 'self' 'unsafe-eval' 'unsafe-inline';
default-src 'self' 'static.cloudflareinsights.com';
script-src 'self' 'unsafe-inline';
style-src 'self' 'unsafe-inline';
img-src * blob: data:;
media-src 'self';
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 11d16ca

Please sign in to comment.