Browse Source

fix: Fixes loading recommendedBrowsers page. (#11465)

* fix: Fixes loading recommendedBrowsers page.

Fixes loading the page and its resources when using html base (cdn).
master
Дамян Минков 3 years ago
parent
commit
7cd5708ea7
No account linked to committer's email address

+ 1
- 1
index.html View File

54
         // redirected to a page that is known to have no newer js syntax.
54
         // redirected to a page that is known to have no newer js syntax.
55
         if (window.navigator.userAgent.match(/(MSIE|Trident)/)) {
55
         if (window.navigator.userAgent.match(/(MSIE|Trident)/)) {
56
             var roomName = encodeURIComponent(window.location.pathname);
56
             var roomName = encodeURIComponent(window.location.pathname);
57
-            window.location.href = "static/recommendedBrowsers.html" + "?room=" + roomName;
57
+            window.location.pathname = 'static/recommendedBrowsers.html';
58
         }
58
         }
59
 
59
 
60
         window.indexLoadedTime = window.performance.now();
60
         window.indexLoadedTime = window.performance.now();

+ 1
- 1
react/features/unsupported-browser/components/DefaultUnsupportedDesktopBrowser.js View File

15
      * @returns {void}
15
      * @returns {void}
16
      */
16
      */
17
     componentDidMount() {
17
     componentDidMount() {
18
-        window.location.href = '/static/recommendedBrowsers.html';
18
+        window.location.pathname = 'static/recommendedBrowsers.html';
19
     }
19
     }
20
 
20
 
21
     /**
21
     /**

Loading…
Cancel
Save