mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-14 10:48:20 +02:00
fix: allow data: scheme in CSP media-src for tts preview
This commit is contained in:
1 parent
9ff1c4aa18
commit
4e20a84836
1 file changed
+1
-1
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user