Skip to content

Commit

Permalink
Allow self in CSP policy
Browse files Browse the repository at this point in the history
  • Loading branch information
axelboc committed Jul 1, 2024
1 parent 6545796 commit f653f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# - `script-src 'unsafe-eval'` because of cwise dependency in H5Web
# - `img-src blob:` for JPEG/PNG images in Raw visualization
# - `worker-src blob:` for H5WasmLocalFileProvider's inline worker
Content-Security-Policy = "default-src 'none'; connect-src data:; script-src 'unsafe-eval'; img-src blob:; worker-src blob:"
Content-Security-Policy = "default-src 'none'; connect-src 'self' data:; script-src 'self' 'unsafe-eval'; style-src 'self'; img-src blob:; worker-src blob:"

0 comments on commit f653f5f

Please sign in to comment.