Skip to content

Commit 280584a

Browse files
authored
Merge pull request #392 from authzed/fix-analytics-endpoint
Update analytics endpoint
2 parents 970ceb4 + aebd24f commit 280584a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/scripts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function Posthog() {
9090
}
9191

9292
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY ?? '', {
93-
api_host: isProd ? '/ingest' : process.env.NEXT_PUBLIC_POSTHOG_HOST, // See Posthog rewrites in next config
93+
api_host: isProd ? '/i' : process.env.NEXT_PUBLIC_POSTHOG_HOST, // See Posthog rewrites in next config
9494
ui_host: process.env.NEXT_PUBLIC_POSTHOG_HOST,
9595
person_profiles: 'always',
9696
loaded: (posthog) => {

0 commit comments

Comments
 (0)