I'm currently doing security on my routes in ngOnInit, if it has on the localStorage the token key, then it stays on the Home route (My root route is the home). Otherwise, it redirects to the login screen.
The problem is that it has a delay, the...
asked by
16.08.2018 / 20:44