Skip to content

Commit

Permalink
Add missing CSP directives
Browse files Browse the repository at this point in the history
  • Loading branch information
hhvrc committed Dec 3, 2024
1 parent d19222c commit 7738962
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,15 @@ const config = {
'self',
'https://*.' + env.PUBLIC_SITE_DOMAIN,
'wss://*.' + env.PUBLIC_SITE_DOMAIN,
'https://firmware.openshock.org',
'https://api.pwnedpasswords.com',
],
'script-src': [
'self',
'https://challenges.cloudflare.com',
'https://static.cloudflareinsights.com',
],
'frame-src': ['https://challenges.cloudflare.com'],
},
},
version: {
Expand Down

0 comments on commit 7738962

Please sign in to comment.