From f9686a3a335cb244d85b29c35d9d895b6d9584ea Mon Sep 17 00:00:00 2001 From: Jaanus Sellin Date: Tue, 25 Apr 2023 14:24:54 +0300 Subject: [PATCH] feat: add plausible as connect src (#3619) --- src/lib/middleware/secure-headers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/middleware/secure-headers.ts b/src/lib/middleware/secure-headers.ts index 29d4488d4b..3a1812bae7 100644 --- a/src/lib/middleware/secure-headers.ts +++ b/src/lib/middleware/secure-headers.ts @@ -50,6 +50,7 @@ const secureHeaders: (config: IUnleashConfig) => RequestHandler = (config) => { connectSrc: [ "'self'", 'cdn.getunleash.io', + 'plausible.getunleash.io', 'gravatar.com', 'europe-west3-metrics-304612.cloudfunctions.net', ...config.additionalCspAllowedDomains.connectSrc,