瀏覽代碼

fix(jaas) replace only the first slash in a pathname

master
Tudor-Ovidiu Avram 4 年之前
父節點
當前提交
b889bd5664
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      react/features/base/connection/functions.js

+ 1
- 1
react/features/base/connection/functions.js 查看文件

59
 
59
 
60
     if (inviteDomain) {
60
     if (inviteDomain) {
61
         const meetingId
61
         const meetingId
62
-            = state['features/base/config'].brandingRoomAlias || urlWithoutParams.pathname.replace('/', '');
62
+            = state['features/base/config'].brandingRoomAlias || urlWithoutParams.pathname.replace(/\//, '');
63
 
63
 
64
         return `${inviteDomain}/${meetingId}`;
64
         return `${inviteDomain}/${meetingId}`;
65
     }
65
     }

Loading…
取消
儲存