Skip to content

Add PostHog proxy middleware#330

Closed
OmarMcAdam wants to merge 1 commit into
mainfrom
task/den-posthog-proxy
Closed

Add PostHog proxy middleware#330
OmarMcAdam wants to merge 1 commit into
mainfrom
task/den-posthog-proxy

Conversation

@OmarMcAdam

Copy link
Copy Markdown

Summary

  • add a Next.js proxy-based PostHog reverse proxy at /ow so analytics requests stay on the app domain
  • switch the client PostHog config to use the shared proxy path instead of the old /ingest rewrite route
  • remove the rewrite-based PostHog forwarding from next.config.js now that the proxy handles event and asset requests

Verification

  • pnpm install
  • pnpm --filter @zero-finance/web typecheck
  • pnpm --filter @zero-finance/web build ❌ fails during page data collection because POSTGRES_URL is not set in this environment

@vercel

vercel Bot commented Mar 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
we-love-your-startup Ready Ready Preview, Comment Mar 13, 2026 1:53am
zerofinance Error Error Mar 13, 2026 1:53am

@OmarMcAdam

Copy link
Copy Markdown
Author

Closing this PR because the change was opened against the wrong repository by mistake.

@OmarMcAdam OmarMcAdam closed this Mar 13, 2026
@OmarMcAdam OmarMcAdam deleted the task/den-posthog-proxy branch March 13, 2026 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant