The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
remove posthog reverse proxy
Steven Tey0b7f532cb97d
diff --git a/apps/web/app/providers.tsx b/apps/web/app/providers.tsxindex 9612e95139..885afac35a 100644--- a/apps/web/app/providers.tsx+++ b/apps/web/app/providers.tsx@@ -15,7 +15,6 @@ import { Toaster } from "sonner";if (typeof window !== "undefined") {posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY!, {- api_host: "/_proxy/posthog/ingest",ui_host: "https://us.posthog.com",person_profiles: "identified_only",capture_pageview: false, // Disable automatic pageview capture, as we capture manuallydiff --git a/apps/web/next.config.js b/apps/web/next.config.jsindex 38f7977e67..a0a194cff0 100644--- a/apps/web/next.config.js+++ b/apps/web/next.config.js@@ -179,15 +179,6 @@ module.exports = withAxiom({source: "/_proxy/dub/track/click",destination: "https://api.dub.co/track/click",},- // for posthog proxy- {- source: "/_proxy/posthog/ingest/static/:path*",- destination: "https://us-assets.i.posthog.com/static/:path*",- },- {- source: "/_proxy/posthog/ingest/:path*",- destination: "https://us.i.posthog.com/:path*",- },// for plausible proxy{source: "/_proxy/plausible/script.js",