fix lint errors

This commit is contained in:
Shawn 2022-01-25 16:55:13 +00:00 committed by Hristo Terezov
parent f5c0d7da5e
commit 2ac410df00
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,8 @@ function _getWebWelcomePageRoute(state) {
}
} else {
// Web: if the welcome page is disabled, go directly to a random room.
let url = new URL(window.location.href);
const url = new URL(window.location.href);
url.pathname += generateRoomWithoutSeparator();
route.href = url.href;
}