Error: Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. #11203
Unanswered
DePasqualeOrg
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following in
svelte.config.js
:And on this line in the page's
head
<link href="./_app/immutable/assets/0.b25ede98.css" rel="stylesheet">
I get the error "Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy."
If I'm not mistaken, this is the CSS that gets built by SvelteKit. What do I need to change to fix this?
Beta Was this translation helpful? Give feedback.
All reactions