allow WebAssembly in CSP for mapbox-gl 3D rendering

This commit is contained in:
Maurice
2026-04-19 13:42:09 +02:00
parent 242d1bf8d4
commit 5978eec270
+1 -1
View File
@@ -82,7 +82,7 @@ export function createApp(): express.Application {
contentSecurityPolicy: {
directives: {
defaultSrc: ["'self'"],
scriptSrc: ["'self'"],
scriptSrc: ["'self'", "'wasm-unsafe-eval'"],
styleSrc: ["'self'", "'unsafe-inline'", "https://fonts.googleapis.com", "https://unpkg.com"],
imgSrc: ["'self'", "data:", "blob:", "https:"],
connectSrc: [