-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
Description
@eltigerchino please find a minimal reproduction attempt here
This is basically the standard sveltekit demo and adjustment were made in commit 92df14f
(static adapter + CSP).
To reproduce:
npm run build
npm run preview
- Open project home page and start the browser console
- Reload page -> csp style issue
- Click on a button -> more csp style issue
On my large project, I also have inline scripts issues but this seems not visible with this minimalistic project.
With svelte4 using "self"
and "blob:"
for script-src
were enough.
Originally posted by @mulder999 in sveltejs/kit#12879 (reply in thread)
mulder999 and marekdedic