src/router/index.js @@ -58,7 +58,7 @@ ) }) } <Redirect exact from="/" to="main"/> <Redirect exact from="/" to="login"/> <Route component= {NotFound}/> </Switch> </HashRouter>