Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svelte-img causes CSP issue with Svelte5 #56

Open
mulder999 opened this issue Nov 12, 2024 · 0 comments
Open

svelte-img causes CSP issue with Svelte5 #56

mulder999 opened this issue Nov 12, 2024 · 0 comments

Comments

@mulder999
Copy link

Please find code for reproduction here

To reproduce:

  1. Run npm i && npm run build && npm run preview -- --open
  2. Launch developer tools and reload the page

You should see two errors in the console related to CSP: Refused to execute inline event handler because it violates the following Content Security Policy directive...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant