Skip to content

Commit d17a4b1

Browse files
javoskiyyx990803
authored andcommitted
reusing var basePath (#1331)
1 parent 4de549a commit d17a4b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/location.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function normalizeLocation (
3939
const basePath = (current && current.path) || '/'
4040
const path = parsedPath.path
4141
? resolvePath(parsedPath.path, basePath, append || next.append)
42-
: (current && current.path) || '/'
42+
: basePath
4343

4444
const query = resolveQuery(
4545
parsedPath.query,

0 commit comments

Comments
 (0)