Replies: 2 comments
-
Because Vercel support zero-config api routes at root folder, so in case you deploy a Next.js application with api to Vercel, |
Beta Was this translation helpful? Give feedback.
0 replies
-
And is that possible to change? :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Why put the api under the pages directory instead of the root directory?
Why not design in the root directory? What is the main reason?
Hope to get your answer.
Beta Was this translation helpful? Give feedback.
All reactions