diff --git a/resources/js/index.js b/resources/js/index.js
index cc7e57ae..e440c451 100644
--- a/resources/js/index.js
+++ b/resources/js/index.js
@@ -33,9 +33,6 @@ export default class Index extends Component {
loading: false,
redirect: true,
});
- if(window.location.pathname != window.config.base) {
- window.location.href = window.config.base;
- }
})
}
@@ -49,7 +46,7 @@ export default class Index extends Component {
);
} else {
- if(baseSet) {
+ if(baseSet && window.config.base) {
return (
()} />