You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Meaning that I have a path: '**' with a redirectTo: 'menu', it doesn't work properly if the pushState's redirectTo is nonsense. In this case it just tries to access the nonsensical route instead of redirecting to 'menu'.
Is this a bug or am I doing something wrong?
Thanks
The text was updated successfully, but these errors were encountered:
window.history.pushState(null, '', redirectTo || 'menu');
I'm using the code above to decide where my Login page will redirect to when it is accessed while the user is already logged in.
The problem is that, even though my routes are as follows:
Meaning that I have a
path: '**'
with aredirectTo: 'menu'
, it doesn't work properly if the pushState's redirectTo is nonsense. In this case it just tries to access the nonsensical route instead of redirecting to 'menu'.Is this a bug or am I doing something wrong?
Thanks
The text was updated successfully, but these errors were encountered: