Hi all - I have successfully been publishing pages w/ a Next.js setup for a few months and things are great, except....
With the new
appDir
appDir
setup on Next 13.4.2, I created a
not-found.js
not-found.js
file to return a custom 404 and not the Next default. On my local setup using
npm run dev
npm run dev
this works correctly and gives me my custom page.
On Pages, it returns the Next default error message and not the custom page.
Given that it works locally, I'm wondering what might be creating this weird behavior. I couldn't find anything searching here or on the Next GitHub issues, so if anybody has seen this I'd appreciate a pointer. Thanks!