48acc479f3
This ensures we match the `basePath` handling for redirects in `next.config.js` with redirects from `getStaticProps` and `getServerSideProps` and also adds a separate test suite to ensure GS(S)P redirects with `basePath` work correctly Fixes: https://github.com/vercel/next.js/issues/18984 Closes: https://github.com/vercel/next.js/pull/18892
3 lines
42 B
JavaScript
3 lines
42 B
JavaScript
module.exports = {
|
|
basePath: '/docs',
|
|
}
|