Bug description
When setting up a vercel reverse proxy, the rewrites do not work when deployed to vercel.com.
I created a test repo: https://github.com/MarconLP/posthog-test
And deployed it to: https://posthog-test-marcus.vercel.app/
It works when running nextjs locally with vercel dev
How to reproduce
- Follow the vercel reverse proxy guide
- Run
vercel dev and see it working locally
- Deploy to vercel.com
- It does not work
Additional context
related ticket: https://posthog.com/questions/proxy-return-405
Thank you for your bug report – we love squashing them!
Bug description
When setting up a vercel reverse proxy, the rewrites do not work when deployed to vercel.com.
I created a test repo: https://github.com/MarconLP/posthog-test
And deployed it to: https://posthog-test-marcus.vercel.app/
It works when running nextjs locally with
vercel devHow to reproduce
vercel devand see it working locallyAdditional context
related ticket: https://posthog.com/questions/proxy-return-405
Thank you for your bug report – we love squashing them!