Fixing issue with "instance" part of the URL lost in exitSceneUrl URLs.
This commit is contained in:
parent
0d5c318040
commit
1d2d60a67a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue