Closed jakubsob closed 3 years ago
I have tested the change and confirm that when I open the app in a new tab for the first time I get redirected to the main page :D
There is also another case which we might want to handle:
<app_link>/#!/
)<app_link>/#!/<main_page_bookmark>
)<app_link>/#!/
<app_link>/#!/
and the app remains functional (it does not get changed to <app_link>/#!/<main_page_bookmark>
)@rszymanski I've changed the mechanism of routing to default bookmark. Now an app opens with correct default url and redirects there when changing url to #!/
Retested the new changes -- it works :)
LGTM, approving :D
LGTM
Resolves #46
The hashpath is not updated when opening default page, each other time it works correctly. Added update of hashpath to be run once after default router page is being set-up.