Fixing issue with "instance" part of the URL lost in exitSceneUrl URLs.

This commit is contained in:
David Négrier 2021-12-07 15:51:30 +01:00
parent 0d5c318040
commit 1d2d60a67a

View File

@ -77,7 +77,7 @@ export class Room {
const currentRoom = new Room(baseUrl);
let instance: string = "global";
if (currentRoom.isPublic) {
instance = currentRoom.instance as string;
instance = currentRoom.getInstance();
}
baseUrl.pathname = "/_/" + instance + "/" + absoluteExitSceneUrl.host + absoluteExitSceneUrl.pathname;