Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix lint errors

Shawn2ac410df00b7
diff --git a/react/features/app/getRouteToRender.web.js b/react/features/app/getRouteToRender.web.js
index 20e051a267..416720cd39 100644
--- a/react/features/app/getRouteToRender.web.js
+++ b/react/features/app/getRouteToRender.web.js
@@ -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;
}