diff --git a/nuxt.config.ts b/nuxt.config.ts index baae090d..a4717dae 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -311,6 +311,7 @@ export default defineNuxtConfig({ crossOriginEmbedderPolicy: false, contentSecurityPolicy: { 'script-src-attr': ['\'self\'', '\'unsafe-inline\''], + 'script-src': ['\'self\'', '\'unsafe-inline\'', 'https://static.cloudflareinsights.com'], 'img-src': ['\'self\'', 'data:', 'https://avatars.githubusercontent.com'], }, },