rsnext/test/integration/500-page
JJ Kasper d951b2385f
Update /500 page exporting when _error has custom GIP (#22887)
This updates to not automatically export `/500` from `_error` if a custom `getInitialProps` is used since logic may be used inside of this method that causes the export to fail. Users can still opt-in to the static `/500` by adding a `pages/500.js` file. 

This also refactors checking `_app` for custom `getInitialProps` to outside of the static check loop to prevent a potential race condition where we could run this check multiple times un-necessarily.  

Fixes: https://github.com/vercel/next.js/issues/22815
2021-03-09 09:55:28 +00:00
..
pages Add generating static 500 status page (#22139) 2021-02-22 16:29:50 +00:00
test Update /500 page exporting when _error has custom GIP (#22887) 2021-03-09 09:55:28 +00:00
next.config.js Add generating static 500 status page (#22139) 2021-02-22 16:29:50 +00:00