Skip to content

Commit

Permalink
Revert "feat: 🎸 posthog (#1945)"
Browse files Browse the repository at this point in the history
This reverts commit ea7ea60.
  • Loading branch information
StanGirard committed Jan 2, 2024
1 parent ea7ea60 commit 47fcfac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 1 addition & 3 deletions frontend/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ if (
process.env.NEXT_PUBLIC_POSTHOG_HOST != null
) {
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY, {
ui_host: process.env.NEXT_PUBLIC_POSTHOG_HOST,
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
api_host: `${process.env.NEXT_PUBLIC_FRONTEND_URL}/ingest`,
api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST,
opt_in_site_apps: true,
disable_session_recording: true,
});
Expand Down
8 changes: 1 addition & 7 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,5 @@
"deploymentEnabled": {
"main": false
}
},
"rewrites": [
{
"source": "/ingest/:path*",
"destination": "https://app.posthog.com/:path*"
}
]
}
}

0 comments on commit 47fcfac

Please sign in to comment.