We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5daa8d2 commit 2eb3135Copy full SHA for 2eb3135
src/client/app/router.ts
@@ -36,7 +36,7 @@ export function createRouter(
36
const url = new URL(href, fakeHost)
37
if (!url.pathname.endsWith('/') && !url.pathname.endsWith('.html')) {
38
url.pathname += '.html'
39
- href = url.href
+ href = url.pathname + url.search + url.hash
40
}
41
if (inBrowser) {
42
// save scroll position before changing url
0 commit comments