I followed the documentation about deploying express on vercel and was able to deploy the app successfully. However, when I added some other routes, I cannot access it.
The “/” route inside the index.js is fine. The problem occurs when I use express Routers.
I’ve created a route in index.js (“/api”) to look up to main.route.js that looks up to the controllers.
I am getting a 404 Not Found when accessing the supposed route (“/api/auth/register”). Is there something I need to add on my vercel.json? I only added what I saw on one of the answers here: