Files
Alexander SavelyevandGitHub ac325dfd0b Fix intercepted segments with basepath (#60485)
### 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
2024-01-10 13:18:00 -08:00

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>
)
}