Revert "feat: 🎸 posthog (#1945)"

This reverts commit ea7ea600b2.
This commit is contained in:
Stan Girard 2024-01-02 10:23:40 +01:00
parent ea7ea600b2
commit 47fcfac549
2 changed files with 2 additions and 10 deletions

View File

@ -22,9 +22,7 @@ if (
process.env.NEXT_PUBLIC_POSTHOG_HOST != null process.env.NEXT_PUBLIC_POSTHOG_HOST != null
) { ) {
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY, { posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY, {
ui_host: process.env.NEXT_PUBLIC_POSTHOG_HOST, api_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`,
opt_in_site_apps: true, opt_in_site_apps: true,
disable_session_recording: true, disable_session_recording: true,
}); });

View File

@ -3,11 +3,5 @@
"deploymentEnabled": { "deploymentEnabled": {
"main": false "main": false
} }
}, }
"rewrites": [
{
"source": "/ingest/:path*",
"destination": "https://app.posthog.com/:path*"
}
]
} }