Skip to content

Commit 8d11318

Browse files
committed
Allow WASM in the Content Security Policy
We need this for starry-night.
1 parent 13175c6 commit 8d11318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ command = 'npx vite build'
55
[[headers]]
66
for = '/*'
77
[headers.values]
8-
Content-Security-Policy = "default-src 'self'; connect-src *; img-src 'self' data:; style-src 'self' 'unsafe-inline'"
8+
Content-Security-Policy = "default-src 'self'; connect-src *; img-src 'self' data:; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline'"

0 commit comments

Comments
 (0)