Skip to content

Commit

Permalink
chore: fixes CSP
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 committed Jan 6, 2025
1 parent 917c837 commit 42cc254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/web/csp.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ func cspHeaders(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set(
"Content-Security-Policy",
"default-src 'self' 'wasm-unsafe-eval' blob: https://cdn.jsdelivr.net https://*.duckdb.org; style-src 'self' 'unsafe-inline'; img-src 'self' data:;",
"default-src 'self' 'wasm-unsafe-eval' blob: https://cdn.jsdelivr.net https://*.duckdb.org; style-src 'self' 'unsafe-inline' blob:; img-src 'self' data:;",
)
next.ServeHTTP(w, r)
})
Expand Down

0 comments on commit 42cc254

Please sign in to comment.