mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-21 21:33:08 +01:00
JS changes
This commit is contained in:
6
public/js/app.js
vendored
6
public/js/app.js
vendored
@@ -130343,10 +130343,6 @@ var Index = /*#__PURE__*/function (_Component) {
|
||||
loading: false,
|
||||
redirect: true
|
||||
});
|
||||
|
||||
if (window.location.pathname != window.config.base) {
|
||||
window.location.href = window.config.base;
|
||||
}
|
||||
});
|
||||
}
|
||||
}, {
|
||||
@@ -130359,7 +130355,7 @@ var Index = /*#__PURE__*/function (_Component) {
|
||||
if (loading) {
|
||||
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_components_Loader__WEBPACK_IMPORTED_MODULE_5__["default"], null);
|
||||
} else {
|
||||
if (baseSet) {
|
||||
if (baseSet && window.config.base) {
|
||||
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_2__["BrowserRouter"], null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_2__["Route"], {
|
||||
render: function render(props) {
|
||||
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_toastify__WEBPACK_IMPORTED_MODULE_7__["ToastContainer"], null);
|
||||
|
||||
Reference in New Issue
Block a user