mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-04 21:15:45 +02:00
chore(client): fix routing
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user