mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +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
14 lines
236 B
TypeScript
14 lines
236 B
TypeScript
import Link from 'next/link'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<div>
|
|
<div id="home-page">Home page</div>
|
|
<br />
|
|
<Link id="link-to-nested" href="/nested">
|
|
To Nested
|
|
</Link>
|
|
</div>
|
|
)
|
|
}
|