Fixing issue with "instance" part of the URL lost in exitSceneUrl URLs.
This commit is contained in:
parent
0d5c318040
commit
1d2d60a67a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user