@tanstack/router-core 1.129.2 → 1.129.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/router.cjs +1 -1
- package/dist/cjs/router.cjs.map +1 -1
- package/dist/esm/router.js +1 -1
- package/dist/esm/router.js.map +1 -1
- package/package.json +1 -1
- package/src/router.ts +1 -1
package/package.json
CHANGED
package/src/router.ts
CHANGED
|
@@ -1370,7 +1370,7 @@ export class RouterCore<
|
|
|
1370
1370
|
}
|
|
1371
1371
|
|
|
1372
1372
|
private comparePaths(path1: string, path2: string) {
|
|
1373
|
-
return path1.replace(
|
|
1373
|
+
return path1.replace(/\/$/, '') === path2.replace(/\/$/, '')
|
|
1374
1374
|
}
|
|
1375
1375
|
|
|
1376
1376
|
buildLocation: BuildLocationFn = (opts) => {
|