So I deployed your application on Vercel and saw this warning:
warn - Statically exporting a Next.js application via `next export` disables API routes.
This means previews are being disabled.
To fix this for now, in your package.json change...
"build": "next build && next export",
"build": "next build",
Your website will still be deployed statically, it will just allow previews to work. To quote the Next.js docs link above:
Pages in your application without server-side data dependencies will be automatically statically exported by
next build , including pages powered by
Let me know if this is clear for you.