DEV Community

Discussion on: How to deploy a Node/Express App to Vercel

Collapse
fzn0x profile image
Muhammad Fauzan • Edited on

UPDATE: If you getting error Due tobuildsexisting in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-build-settings, change the vercel.json to

{
  "rewrites": [{ "source": "/(.*)", "destination": "/api" }]
}
Enter fullscreen mode Exit fullscreen mode

See vercel.com/guides/using-express-wi...