forked from FoundKeyGang/FoundKey
chore(client): fix routing
cherry-picked from c771135fd852a972a775abe6b1a5e4199cc5191b
This commit is contained in:
parent
e467143b76
commit
26a45a63b3
1 changed files with 3 additions and 1 deletions
|
@ -127,7 +127,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