fix: allow spark wasm data fetch
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Your Name 2026-05-25 20:57:05 +08:00
parent bfa072b5b8
commit 026bfd0615

View File

@ -50,7 +50,8 @@ const nextConfig: NextConfig = {
"style-src 'self' 'unsafe-inline'",
"img-src 'self' data: blob: https: http:",
"font-src 'self' data:",
"connect-src 'self' https: wss:",
// Spark bundles its WASM decoder as a data: URL and initializes it via fetch().
"connect-src 'self' data: https: wss:",
"media-src 'self' blob: https:",
"frame-src 'self'",
"worker-src 'self' blob:",