fix(security): close remaining CSP report-only gaps, make Sentry sourcemap upload verbose for debugging
- connect-src: allow *.fastly.mux.com (Mux HLS chunks/manifests via Fastly
edge, dynamic regional subdomains) and *.litix.io (Mux Data beacon uses
inferred.litix.io, not covered by the exact litix.io entry)
- media-src: allow image.mux.com (storyboard.vtt thumbnail track)
- next.config.ts: silent:true -> silent:false + debug:true so the next
Docker build surfaces what the Sentry/GlitchTip sourcemap upload plugin
actually does (still minified stacktraces in GlitchTip despite the
build-arg fix in b469389)
This commit is contained in:
1 parent
e958f38575
commit
53789ca56e
2 files changed
+15
-4
No files matched your search
+9
-1
@@ -101,9 +101,17 @@ export default clerkMiddleware(
|
||||
"https://stream.mux.com",
|
||||
"https://image.mux.com",
|
||||
"https://litix.io",
|
||||
"https://*.litix.io",
|
||||
"https://*.fastly.mux.com",
|
||||
"https://storage.googleapis.com",
|
||||
],
|
||||
"media-src": ["self", "blob:", "https://stream.mux.com", "https://*.edgemv.mux.com"],
|
||||
"media-src": [
|
||||
"self",
|
||||
"blob:",
|
||||
"https://stream.mux.com",
|
||||
"https://*.edgemv.mux.com",
|
||||
"https://image.mux.com",
|
||||
],
|
||||
"font-src": ["self", "data:"],
|
||||
"frame-ancestors": ["none"],
|
||||
"object-src": ["none"],
|
||||
|
||||
Reference in new issue
Block a user