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(jaas) fix double slash for branded invite urls

Tudor-Ovidiu Avram0f64c66f91c5
diff --git a/react/features/base/connection/functions.js b/react/features/base/connection/functions.js
index 47032fcffc..9338464c13 100644
--- a/react/features/base/connection/functions.js
+++ b/react/features/base/connection/functions.js
@@ -59,7 +59,7 @@ export function getInviteURL(stateOrGetState: Function | Object): string {
if (inviteDomain) {
const meetingId
- = state['features/base/config'].brandingRoomAlias || urlWithoutParams.pathname;
+ = state['features/base/config'].brandingRoomAlias || urlWithoutParams.pathname.replace('/', '');
return `${inviteDomain}/${meetingId}`;
}