Merge pull request #1610 from thecodingmachine/fixingQueryParamsRegisterUrl
Fixing "Query string parameters prevent WA from loading"
This commit is contained in:
commit
4875a8fed9
@ -132,13 +132,14 @@ class ConnectionManager {
|
||||
|
||||
const roomUrl = data.roomUrl;
|
||||
|
||||
const query = urlParams.toString();
|
||||
this._currentRoom = await Room.createRoom(
|
||||
new URL(
|
||||
window.location.protocol +
|
||||
"//" +
|
||||
window.location.host +
|
||||
roomUrl +
|
||||
urlParams.toString() + //use urlParams because the token param must be deleted
|
||||
(query ? "?" + query : "") + //use urlParams because the token param must be deleted
|
||||
window.location.hash
|
||||
)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user