From 30c40f735ed823d97b2bb8bf06fa1530b1b5df79 Mon Sep 17 00:00:00 2001 From: Luke Vella Date: Sun, 21 Jul 2024 10:25:48 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=88=20Disable=20debug=20mode=20(#1212)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/src/contexts/posthog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/contexts/posthog.tsx b/apps/web/src/contexts/posthog.tsx index 16b822488..c721d2d5c 100644 --- a/apps/web/src/contexts/posthog.tsx +++ b/apps/web/src/contexts/posthog.tsx @@ -13,7 +13,7 @@ type PostHogProviderProps = React.PropsWithChildren; if (typeof window !== "undefined" && env.NEXT_PUBLIC_POSTHOG_API_KEY) { posthog.init(env.NEXT_PUBLIC_POSTHOG_API_KEY, { - debug: true, + debug: false, api_host: env.NEXT_PUBLIC_POSTHOG_API_HOST, capture_pageview: false, capture_pageleave: true,