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