Next.js Discord

Discord Forum

My express app runs locally but doesn't run when I upload to vercel

Unanswered
x||| posted this in #help-forum
Open in Discord
I added vercel.json
{ "version": 2, "rewrites": [{ "source": "/(.*)", "destination": "/" }] }

but didn't work.

The entry point of my app is: index.js that exists in root.

how can I fix this?
I get 404 Not found

1 Reply

up