Skip to content

Commit

Permalink
Allow inline script/styles
Browse files Browse the repository at this point in the history
  • Loading branch information
axelboc committed Jul 1, 2024
1 parent f653f5f commit e4d26ea
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 'self' data:; script-src 'self' 'unsafe-eval'; style-src 'self'; img-src blob:; worker-src blob:"
Content-Security-Policy = "default-src 'none'; connect-src 'self' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' blob:; worker-src blob:"

0 comments on commit e4d26ea

Please sign in to comment.