fix: allow data: scheme in CSP media-src for tts preview

This commit is contained in:
Michael committed 2026-01-23 09:44:39 +01:00
1 parent 9ff1c4aa18
commit 4e20a84836
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@ app.use(helmet({
imgSrc: ["'self'", "data:", "https:", "blob:"],
fontSrc: ["'self'", "https://fonts.gstatic.com"],
connectSrc: ["'self'", "https://graph.facebook.com", "https://openrouter.ai", "https://res.cloudinary.com", "https://freesound.org", "wss:", "ws:"],
mediaSrc: ["'self'", "https://cdn.freesound.org", "https:"],
mediaSrc: ["'self'", "https://cdn.freesound.org", "https:", "data:"],
}
},
crossOriginEmbedderPolicy: false,