Next.js Discord

Discord Forum

Custom 503 Page

Lord_TCG#9068 posted this in #help-forum
Open in Discord
I can see how to set a custom 404, and a custom error page, but I'd like to only have custom page for 503 errors (which I will use middleware to throw if I set the app to maintenance mode).

Is there a way to keep the default not-found page for any other error that isn't 503 or 404 and have custom pages for just those 2?

0 Replies