From 47fcfac54915cb49843a859f335f3b3214f5d785 Mon Sep 17 00:00:00 2001 From: Stan Girard Date: Tue, 2 Jan 2024 10:23:40 +0100 Subject: [PATCH] =?UTF-8?q?Revert=20"feat:=20=F0=9F=8E=B8=20posthog=20(#19?= =?UTF-8?q?45)"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit ea7ea600b2fd153ffa2707ab6b19aaddc14f2574. --- frontend/app/App.tsx | 4 +--- vercel.json | 8 +------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/frontend/app/App.tsx b/frontend/app/App.tsx index ce9cf0ddbc2d..63d797ae2001 100644 --- a/frontend/app/App.tsx +++ b/frontend/app/App.tsx @@ -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, }); diff --git a/vercel.json b/vercel.json index 7310aac7ce1e..8e82c51ff622 100644 --- a/vercel.json +++ b/vercel.json @@ -3,11 +3,5 @@ "deploymentEnabled": { "main": false } - }, - "rewrites": [ - { - "source": "/ingest/:path*", - "destination": "https://app.posthog.com/:path*" - } - ] + } } \ No newline at end of file