Closed youfoundron closed 7 years ago
I want to push to an error page if the status of a response from a request made in getInitialProps returns 404 or 500.
getInitialProps
Looks like you found an answer in https://github.com/zeit/next.js/issues/2218
I want to push to an error page if the status of a response from a request made in
getInitialProps
returns 404 or 500.