From 5b1757cbf127b552bfa78a1d5312742c4b5c0a31 Mon Sep 17 00:00:00 2001 From: Stan Girard Date: Thu, 28 Dec 2023 14:53:29 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20posthog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit added in src --- frontend/next.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/next.config.js b/frontend/next.config.js index 5a3084db0e2b..b9bd7ab726e8 100644 --- a/frontend/next.config.js +++ b/frontend/next.config.js @@ -36,6 +36,7 @@ const ContentSecurityPolicy = { "https://fonts.googleapis.com", process.env.NEXT_PUBLIC_SUPABASE_URL, "https://api.june.so", + "https://us.posthog.com", process.env.NEXT_PUBLIC_FRONTEND_URL, ], "connect-src": [ @@ -69,8 +70,11 @@ const ContentSecurityPolicy = { process.env.NEXT_PUBLIC_FRONTEND_URL, "https://www.google-analytics.com/", "https://js.stripe.com", + "https://us.posthog.com" + ], + "frame-src": ["https://js.stripe.com", + "https://us.posthog.com" ], - "frame-src": ["https://js.stripe.com"], "frame-ancestors": ["'none'"], "style-src": ["'unsafe-inline'", process.env.NEXT_PUBLIC_FRONTEND_URL], };