Skip to content

Commit 6ec4e23

Browse files
committed
Fix CSP issues for Cloudflare Workers deployment
- Add _headers file with proper Content Security Policy configuration - Allow unsafe-inline and unsafe-eval for Next.js compatibility - Include Cloudflare Insights in allowed script sources - Add security headers: X-Frame-Options, X-Content-Type-Options, Referrer-Policy - Resolves CSP violations that were preventing JavaScript execution - Application now renders properly in browser
1 parent 7780918 commit 6ec4e23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wrangler.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ migrations_dir = "migrations"
1515

1616
[vars]
1717
NODE_ENV = "production"
18+

0 commit comments

Comments
 (0)