Session 16: Live hero prop, sport-specific markets fix, soccer weather, Sentry CSP (1429 tests)
This commit is contained in:
+6
-2
@@ -15,11 +15,15 @@ import withBundleAnalyzer from '@next/bundle-analyzer';
|
||||
// - Supabase wss: AuthContext realtime + push subscriptions
|
||||
const CSP = [
|
||||
"default-src 'self'",
|
||||
"script-src 'self' 'unsafe-eval' 'unsafe-inline' https://js.stripe.com https://us-assets.i.posthog.com",
|
||||
"script-src 'self' 'unsafe-eval' 'unsafe-inline' https://js.stripe.com https://us-assets.i.posthog.com https://browser.sentry-cdn.com",
|
||||
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
|
||||
"font-src 'self' https://fonts.gstatic.com",
|
||||
"img-src 'self' data: blob: https://*.supabase.co https://cdn.nba.com https://a.espncdn.com",
|
||||
"connect-src 'self' https://*.supabase.co wss://*.supabase.co https://api.stripe.com https://us.i.posthog.com https://us-assets.i.posthog.com",
|
||||
// Session 16 — Sentry browser client posts events to *.sentry.io
|
||||
// (and *.ingest.sentry.io for the ingestion endpoints). Adding
|
||||
// both forms so the @sentry/nextjs init in SentryInit.tsx can
|
||||
// actually report errors out of the browser bundle.
|
||||
"connect-src 'self' https://*.supabase.co wss://*.supabase.co https://api.stripe.com https://us.i.posthog.com https://us-assets.i.posthog.com https://*.sentry.io https://*.ingest.sentry.io",
|
||||
"frame-src https://js.stripe.com https://hooks.stripe.com",
|
||||
"worker-src 'self' blob:",
|
||||
"manifest-src 'self'",
|
||||
|
||||
Reference in New Issue
Block a user