fix: Fixes loading recommendedBrowsers page. (#11465)
* fix: Fixes loading recommendedBrowsers page. Fixes loading the page and its resources when using html base (cdn).
This commit is contained in:
parent
e3f3c00c06
commit
7cd5708ea7
|
@ -54,7 +54,7 @@
|
|||
// redirected to a page that is known to have no newer js syntax.
|
||||
if (window.navigator.userAgent.match(/(MSIE|Trident)/)) {
|
||||
var roomName = encodeURIComponent(window.location.pathname);
|
||||
window.location.href = "static/recommendedBrowsers.html" + "?room=" + roomName;
|
||||
window.location.pathname = 'static/recommendedBrowsers.html';
|
||||
}
|
||||
|
||||
window.indexLoadedTime = window.performance.now();
|
||||
|
|
|
@ -15,7 +15,7 @@ class DefaultUnsupportedDesktopBrowser extends Component {
|
|||
* @returns {void}
|
||||
*/
|
||||
componentDidMount() {
|
||||
window.location.href = '/static/recommendedBrowsers.html';
|
||||
window.location.pathname = 'static/recommendedBrowsers.html';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue