Merge pull request #1611 from thecodingmachine/master

Master
This commit is contained in:
grégoire parant 2021-11-30 18:10:36 +01:00 committed by GitHub
commit 9eb4206fe0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,13 +132,14 @@ class ConnectionManager {
const roomUrl = data.roomUrl; const roomUrl = data.roomUrl;
const query = urlParams.toString();
this._currentRoom = await Room.createRoom( this._currentRoom = await Room.createRoom(
new URL( new URL(
window.location.protocol + window.location.protocol +
"//" + "//" +
window.location.host + window.location.host +
roomUrl + 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 window.location.hash
) )
); );