fix: allow spark wasm data fetch
This commit is contained in:
parent
bfa072b5b8
commit
026bfd0615
@ -50,7 +50,8 @@ const nextConfig: NextConfig = {
|
|||||||
"style-src 'self' 'unsafe-inline'",
|
"style-src 'self' 'unsafe-inline'",
|
||||||
"img-src 'self' data: blob: https: http:",
|
"img-src 'self' data: blob: https: http:",
|
||||||
"font-src 'self' data:",
|
"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:",
|
"media-src 'self' blob: https:",
|
||||||
"frame-src 'self'",
|
"frame-src 'self'",
|
||||||
"worker-src 'self' blob:",
|
"worker-src 'self' blob:",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user