Skip to content
Snippets Groups Projects
Commit c771135f authored by syuilo's avatar syuilo
Browse files

chore(client): fix routing

parent ad970dff
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,9 @@ export class Router extends EventEmitter<{
props.set(p.name, safeURIDecode(parts[0].substring(p.startsWith.length)));
parts.shift();
} else {
props.set(p.name, safeURIDecode(parts[0]));
if (parts[0]) {
props.set(p.name, safeURIDecode(parts[0]));
}
parts.shift();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment