Trying to debug why not-found reported for a next.js API after deploy

  Kiến thức lập trình

Same code (a dynamic route) runs locally but once I deploy it to a VPS server, even if I try to run in dev mode I directly get not-found:

I have the same code locally and it works. Also it can be seen next is immediately returning not-found, no other client code get executed for this route only the app router does not respond for some reason. Any way to debug this with more logs ?

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT