Fix API proxy in frontend/vercel.json — was causing 404 on admin regi… #4504
ccantynzcommented Mar 7, 2026
Originally written by @vercel[bot] on GitHub.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| bookaride-v2 | Preview, Comment | Mar 7, 2026 9:08am |
Cross-repo impact
See what breaks downstream if this PR merges.
⮌ Merged
This pull request was merged into main.
c comment · e edit title · m merge · a approve · r request changes · ? shortcuts
Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/BookarideV2/pull/13
…ster
The frontend/vercel.json only had a catch-all SPA rewrite, missing the /api/* proxy to the Render backend. This caused POST requests to /api/admin/register to return Vercel's 404 instead of reaching FastAPI.
https://claude.ai/code/session_018Lk1bRwfbtxc5eo6zXuG94