mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
Alter hashRegex to expect all handled URLs
This commit is contained in:
parent
0f480571e8
commit
3957222da3
@ -20,7 +20,7 @@ import SdkConfig, { DEFAULTS } from './SdkConfig';
|
||||
import Modal from './Modal';
|
||||
import sdk from './index';
|
||||
|
||||
const hashRegex = /#\/(group|room|user)\/(.+)/;
|
||||
const hashRegex = /#\/(groups?|room|user|settings|register|login|forgot_password|home|directory)/;
|
||||
|
||||
// Remove all but the first item in the hash path. Redact unexpected hashes.
|
||||
function getRedactedHash(hash) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user