ソースを参照

Fix processing context root

Yours truly refactored routing in https://github.com/jitsi/jitsi-meet/pull/3222
and broke it. When a bare room is entered the pathname was not updated when
applying the default URL.
master
Saúl Ibarra Corretgé 7年前
コミット
f10d42f8e4
1個のファイルの変更2行の追加0行の削除
  1. 2
    0
      react/features/app/actions.js

+ 2
- 0
react/features/app/actions.js ファイルの表示

@@ -124,6 +124,8 @@ function _appNavigateToOptionalLocation(
124 124
             // FIXME Turn location's host, hostname, and port properties into
125 125
             // setters in order to reduce the risks of inconsistent state.
126 126
             location.hostname = defaultLocation.hostname;
127
+            location.pathname
128
+                = defaultLocation.pathname + location.pathname.substr(1);
127 129
             location.port = defaultLocation.port;
128 130
             location.protocol = defaultLocation.protocol;
129 131
         } else {

読み込み中…
キャンセル
保存