From 3b0c48052b04767f90a5d639f006c2dbf6e8b8f0 Mon Sep 17 00:00:00 2001 From: = Date: Tue, 26 Nov 2024 20:26:14 +0530 Subject: [PATCH] fix: frontend failing to give token back in cli login --- frontend/next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/next.config.js b/frontend/next.config.js index e07695ed6..028000ed8 100644 --- a/frontend/next.config.js +++ b/frontend/next.config.js @@ -2,7 +2,7 @@ const path = require("path"); const ContentSecurityPolicy = ` default-src 'self'; - connect-src 'self' https://*.posthog.com; + connect-src 'self' https://*.posthog.com http://127.0.0.1:*; script-src 'self' https://*.posthog.com https://js.stripe.com https://api.stripe.com https://widget.intercom.io https://js.intercomcdn.com https://hcaptcha.com https://*.hcaptcha.com 'unsafe-inline' 'unsafe-eval'; style-src 'self' https://rsms.me 'unsafe-inline' https://hcaptcha.com https://*.hcaptcha.com; child-src https://api.stripe.com;