mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-24 15:38:10 +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:"],
|
imgSrc: ["'self'", "data:", "https:", "blob:"],
|
||||||
fontSrc: ["'self'", "https://fonts.gstatic.com"],
|
fontSrc: ["'self'", "https://fonts.gstatic.com"],
|
||||||
connectSrc: ["'self'", "https://graph.facebook.com", "https://openrouter.ai", "https://res.cloudinary.com", "https://freesound.org", "wss:", "ws:"],
|
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,
|
crossOriginEmbedderPolicy: false,
|
||||||
|
|||||||
Reference in new issue
Block a user