rsnext/test/integration/500-page
JJ Kasper 0402fc459e
Disable prerendering /500 when _error has getServerSideProps (#23586)
This prevents unexpected errors occurring from users leveraging `getServerSideProps` in `_error` with the new `/500` prerendering as we are currently only checking for a custom `getInitialProps` in `_error` since it opts out of the static optimization although `getServerSideProps` also opts out of the optimization. 

Fixes: https://github.com/vercel/next.js/issues/23541
Fixes: https://github.com/vercel/next.js/issues/23128
Fixes: https://github.com/vercel/next.js/issues/23541
Fixes: https://github.com/vercel/next.js/issues/24206

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
2021-06-11 09:29:40 +00:00
..
pages Add generating static 500 status page (#22139) 2021-02-22 16:29:50 +00:00
test Disable prerendering /500 when _error has getServerSideProps (#23586) 2021-06-11 09:29:40 +00:00
next.config.js Add generating static 500 status page (#22139) 2021-02-22 16:29:50 +00:00