Nextjs 13 Custom 404 doesn't show
Unanswered
Black-crowned Night-Heron posted this in #help-forum
Black-crowned Night-HeronOP
I have a file under
app/not-found.tsx with simple return below. My custom 404 error however doesn't show up when I go to a not found page, rather a built in error page from nextjs. What am I doing incorrectly here? Do I need to configure my Middleware.ts?export default function NotFound() {
return <h1> Hello 404 - Page Not Found</h1>;
}