diff --git a/src/middleware/general.ts b/src/middleware/general.ts index 3c2d5b5..ceed6f4 100644 --- a/src/middleware/general.ts +++ b/src/middleware/general.ts @@ -8,7 +8,7 @@ export const helmetMiddleware = helmet({ contentSecurityPolicy: { directives: { "img-src": ["'self'", "data:", "img.shields.io"], // Allow img.shields.io for footer badges - "script-src": ["'self'", "cloudflareinsights.com"], // Allow Cloudflare analytics + "script-src": ["'self'", "*.cloudflareinsights.com"], // Allow Cloudflare analytics }, }, });