mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### Fixing a bug ### What? When basePath is added, intercepted routes stop working correctly. ### Why? For them, basePath was not added at all. ### How? Added basePath to the rewrites for intercepted routes. Fixes #52624, #58268
9 lines
118 B
JavaScript
9 lines
118 B
JavaScript
/**
|
|
* @type {import('next').NextConfig}
|
|
*/
|
|
const nextConfig = {
|
|
basePath: '/base',
|
|
}
|
|
|
|
module.exports = nextConfig
|