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
) {
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,
});

View File

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