Lower case room names only
parent
14ba504907
commit
639b429d9d
|
|
@ -32,7 +32,7 @@ function run()
|
||||||
const peerName = randomString({ length: 8 }).toLowerCase();
|
const peerName = randomString({ length: 8 }).toLowerCase();
|
||||||
const urlParser = new UrlParse(window.location.href, true);
|
const urlParser = new UrlParse(window.location.href, true);
|
||||||
let roomId = (urlParser.pathname).substr(1)
|
let roomId = (urlParser.pathname).substr(1)
|
||||||
? (urlParser.pathname).substr(1) : urlParser.query.roomId;
|
? (urlParser.pathname).substr(1).toLowerCase() : urlParser.query.roomId.toLowerCase();
|
||||||
const produce = urlParser.query.produce !== 'false';
|
const produce = urlParser.query.produce !== 'false';
|
||||||
let displayName = urlParser.query.displayName;
|
let displayName = urlParser.query.displayName;
|
||||||
const isSipEndpoint = urlParser.query.sipEndpoint === 'true';
|
const isSipEndpoint = urlParser.query.sipEndpoint === 'true';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue