Allow passing statusCode for GS(S)P redirect (#18422)
This adds support for passing `statusCode` in a `redirect` from `getServerSideProps` or `getStaticProps` which matches the `redirect` shape allowed to be returned for `redirects` in `next.config.js` Closes: https://github.com/vercel/next.js/issues/18350
Showing
Please
register
or
sign in
to comment