We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc1ccfa commit e708ebeCopy full SHA for e708ebe
packages/core/src/router/util.ts
@@ -34,10 +34,10 @@ export function normaliseRoute(url: string): NormalisedRoute {
34
35
const $url = new URL(url)
36
// make sure we start with a leading slash
37
- const path = withLeadingSlash($url.pathname)
+ const path = `${withLeadingSlash($url.pathname)}${$url.search}`
38
39
let normalised: Partial<NormalisedRoute> = {
40
- id: hashPathName(path),
+ id: hashPathName(`${$url.pathname}${$url.search}`),
41
url,
42
$url,
43
path,
0 commit comments