chore(client): fix routing
This commit is contained in:
parent
ad970dffda
commit
c771135fd8
1 changed files with 3 additions and 1 deletions
|
@ -128,7 +128,9 @@ export class Router extends EventEmitter<{
|
||||||
props.set(p.name, safeURIDecode(parts[0].substring(p.startsWith.length)));
|
props.set(p.name, safeURIDecode(parts[0].substring(p.startsWith.length)));
|
||||||
parts.shift();
|
parts.shift();
|
||||||
} else {
|
} else {
|
||||||
|
if (parts[0]) {
|
||||||
props.set(p.name, safeURIDecode(parts[0]));
|
props.set(p.name, safeURIDecode(parts[0]));
|
||||||
|
}
|
||||||
parts.shift();
|
parts.shift();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue