Commit 76e2e04
Deepak Pandey
Fix CSP violations: Allow inline scripts/styles and Cloudflare Insights
- Added 'unsafe-inline' to script-src for Next.js inline scripts
- Added 'unsafe-eval' to script-src for dynamic script evaluation
- Added 'unsafe-inline' to style-src for Google Fonts and inline styles
- Added https://static.cloudflareinsights.com to script-src for Cloudflare Analytics
- This resolves the 35+ CSP violations preventing site from loading properly1 parent ef38cce commit 76e2e04
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments