From: Eduardo San Martin Morote Date: Fri, 6 Dec 2024 08:41:57 +0000 (+0100) Subject: chore: comment X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=17bb729303a9b806eff8c9cb270b393388eba63d;p=thirdparty%2Fvuejs%2Frouter.git chore: comment [skip ci] --- diff --git a/packages/router/src/location.ts b/packages/router/src/location.ts index ad317332..af2444de 100644 --- a/packages/router/src/location.ts +++ b/packages/router/src/location.ts @@ -63,6 +63,7 @@ export function parseURL( // keep the ? char searchString = location.slice( searchPos, + // hashPos cannot be 0 because there is a search section in the location hashPos > 0 ? hashPos : location.length )