fix(jaas) replace only the first slash in a pathname
This commit is contained in:
parent
d97f46c163
commit
b889bd5664
|
@ -59,7 +59,7 @@ export function getInviteURL(stateOrGetState: Function | Object): string {
|
|||
|
||||
if (inviteDomain) {
|
||||
const meetingId
|
||||
= state['features/base/config'].brandingRoomAlias || urlWithoutParams.pathname.replace('/', '');
|
||||
= state['features/base/config'].brandingRoomAlias || urlWithoutParams.pathname.replace(/\//, '');
|
||||
|
||||
return `${inviteDomain}/${meetingId}`;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue