Alter hashRegex to expect all handled URLs
This commit is contained in:
parent
0f480571e8
commit
3957222da3
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ import SdkConfig, { DEFAULTS } from './SdkConfig';
|
||||||
import Modal from './Modal';
|
import Modal from './Modal';
|
||||||
import sdk from './index';
|
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.
|
// Remove all but the first item in the hash path. Redact unexpected hashes.
|
||||||
function getRedactedHash(hash) {
|
function getRedactedHash(hash) {
|
||||||
|
|
Loading…
Reference in a new issue