-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding `object-src: none` and `base-uri: none` as per the guidance of https://csp-evaluator.withgoogle.com/  Note that SvelteKit does not support unsafe-inline fallbacks; we would need to add `strict-dynamic` which is officially unsupported at the minute. Adding `unsafe-inline` also removes the nonce and breaks the entire page as the browser ignores it due to the unsafe-hashes workaround, but the missing nonce means no other scripts can execute. `require-trusted-types` also is apparently not supported.
- Loading branch information
1 parent
dd64dff
commit 0a0a34c
Showing
2 changed files
with
24 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters