fix for /tinode/chat/issues/861

This commit is contained in:
or-else
2023-05-17 18:31:26 -07:00
parent c5c55fd9fd
commit baf211ff82
52 changed files with 175 additions and 62 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ export default class HashNavigation {
// Parse hash as in http://www.example.com/path#hash as if it were
// path and arguments.
static parseUrlHash(hash) {
// Split path from args, path -> parts[0], args->path[1]
// Split 'path/?args' into 'path/' and 'args', path -> parts[0], args->path[1].
const parts = hash.split('?', 2);
const params = {};
let path = [];