fix: allow PDF iframe embedding in CSP

This commit is contained in:
Maurice
2026-03-27 21:41:06 +01:00
parent 8396a75223
commit 1a992b7b4e

View File

@@ -58,7 +58,8 @@ app.use(helmet({
connectSrc: ["'self'", "ws:", "wss:", "https:", "http:"], connectSrc: ["'self'", "ws:", "wss:", "https:", "http:"],
fontSrc: ["'self'", "https://fonts.gstatic.com", "data:"], fontSrc: ["'self'", "https://fonts.gstatic.com", "data:"],
objectSrc: ["'self'"], objectSrc: ["'self'"],
frameAncestors: ["'none'"], frameSrc: ["'self'"],
frameAncestors: ["'self'"],
} }
}, },
crossOriginEmbedderPolicy: false, crossOriginEmbedderPolicy: false,