chore(client): fix routing

This commit is contained in:
syuilo 2022-07-13 18:28:04 +09:00
parent 65ec13a137
commit d71af6ab8e

View file

@ -128,7 +128,9 @@ export class Router extends EventEmitter<{
props.set(p.name, safeURIDecode(parts[0].substring(p.startsWith.length)));
parts.shift();
} else {
if (parts[0]) {
props.set(p.name, safeURIDecode(parts[0]));
}
parts.shift();
}
}