Commit 8e90ab3
Update CSP headers in vercel.json to allow analytics services
Add Content-Security-Policy header to allow analytics.google.com and cdn.segment.com in connect-src directive. This fixes console errors from blocked analytics requests while maintaining security restrictions.
- Allows Google Analytics (analytics.google.com)
- Allows Segment Analytics (cdn.segment.com)
- Maintains restrictive policy for other directives
- Applies to /docs/* paths
Related to EDU-631: https://linear.app/tigerdata/issue/EDU-631/update-csp-headers-in-verceljson-to-allow-analytics
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>1 parent 0ae9527 commit 8e90ab3
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
412 | 425 | | |
413 | 426 | | |
414 | 427 | | |
| |||
0 commit comments