Skip to content

Commit

Permalink
fix(csp): allow connection source 'self'
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Oct 21, 2023
1 parent 8dcdab9 commit 41d7839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default defineNuxtConfig(
'ws://localhost:3000/_nuxt/', // Nuxt development
'wss://localhost:3000/_nuxt/', // Nuxt development
]
: [`${SITE_URL}/_nuxt/builds/meta/`]),
: ["'self'"]), // Nuxt build metadata and payloads
],
'img-src': [
"'self'", // TODO: replace with `"'nonce-{{nonce}}'",`
Expand Down

0 comments on commit 41d7839

Please sign in to comment.