mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-06 12:41:48 +02:00
📈 Disable debug mode (#1212)
This commit is contained in:
parent
ba3008b3f2
commit
30c40f735e
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ type PostHogProviderProps = React.PropsWithChildren;
|
||||||
|
|
||||||
if (typeof window !== "undefined" && env.NEXT_PUBLIC_POSTHOG_API_KEY) {
|
if (typeof window !== "undefined" && env.NEXT_PUBLIC_POSTHOG_API_KEY) {
|
||||||
posthog.init(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,
|
api_host: env.NEXT_PUBLIC_POSTHOG_API_HOST,
|
||||||
capture_pageview: false,
|
capture_pageview: false,
|
||||||
capture_pageleave: true,
|
capture_pageleave: true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue