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
Дамян Минков 2 years ago
parent
commit
7cd5708ea7
No account linked to committer's email address

+ 1
- 1
index.html View File

@@ -54,7 +54,7 @@
54 54
         // redirected to a page that is known to have no newer js syntax.
55 55
         if (window.navigator.userAgent.match(/(MSIE|Trident)/)) {
56 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 60
         window.indexLoadedTime = window.performance.now();

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

@@ -15,7 +15,7 @@ class DefaultUnsupportedDesktopBrowser extends Component {
15 15
      * @returns {void}
16 16
      */
17 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