0402fc459e
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 |
||
---|---|---|
.. | ||
pages | ||
test | ||
next.config.js |