chore: Update server CSP configuration

This commit is contained in:
Michael committed 2026-01-22 12:58:03 +01:00
1 parent f2cdd0a71c
commit 8fde238369
1 file changed
+2 -1
+2 -1
View File
@@ -32,7 +32,8 @@ app.use(helmet({
styleSrc: ["'self'", "'unsafe-inline'", "https://fonts.googleapis.com"],
imgSrc: ["'self'", "data:", "https:", "blob:"],
fontSrc: ["'self'", "https://fonts.gstatic.com"],
connectSrc: ["'self'", "https://graph.facebook.com", "https://openrouter.ai", "https://res.cloudinary.com", "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:"],
}
},
crossOriginEmbedderPolicy: false,