Until yesterday, when I upgraded to Vercel CLI v46, all was fine with my redirects:
"rewrites": [
{
"source": "/card",
"destination": "/"
},
...
Now, none of them seem to work, and the node/express services in my /api directory are also not accessible (all resulting in a 404 error).
Even the example catch-all rewrite “/(.*)” doesn’t work.
Everything is fine in the production and preview environments; the problem is just on my local development environment.
I’m fairly new to Vercel, so any suggestions welcome.
system
(system)
2
There’s another community post with 404 debugging tips that might be helpful. Please give these solutions a try and let us know how it goes.
A human should be around soon to offer more advice. But you can also get helpful information quickly by asking v0.
If you’re having trouble deploying an Express app, this guide can help.
You can also ask v0 for suggestions tailored to your own project setup.
If I rollback to Vercel CLI 44.7.3, then everything works as expected.
system
(system)
Closed
6
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.