fix: CSP policy missing front components like icons, nextui color mode, wasm

This commit is contained in:
fsylvain committed 2026-10-05 16:32:19 +02:00
1 parent 1e5f324579
commit 508a8ab77e
9 files changed
+124 -7

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ package middleware
import "net/http"
const contentSecurityPolicy = "default-src 'self'; " +
"script-src 'self'; " +
"script-src 'self' 'wasm-unsafe-eval'; " +
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; " +
"font-src 'self' https://fonts.gstatic.com; " +
"img-src 'self' data: blob: https:; " +