📈 Disable debug mode (#1212)

This commit is contained in:
Luke Vella 2024-07-21 10:25:48 +01:00 committed by GitHub
parent ba3008b3f2
commit 30c40f735e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,