The base url (localhost:4200/) now redirects to localhost:4200/#/login If the user is not logged in, this is determined via the customer data added to the localstorage anytime the user signs in; however, on signout, the localstorage is cleared. If the user is logged in, they redirected to localhost:4200/#/customer-information
I tried removing the hash by deleting this:
RouterModule.forRoot(routes, {
useHash: true,
}), but it didn't work; the page just displays a blank screen.
Navigating to the /customer-information page without signing in displays a disorderly user interface (but there is no need to worry about it because even if the user tries to navigate to the page when not logged in, they will be redirected to the /login page). I will still resolve this in the future, but otherwise, everything is working fine.
1. The base url (localhost:4200/) now redirects to localhost:4200/#/login If the user is not logged in, this is determined via the customer data added to the localstorage anytime the user signs in; however, on signout, the localstorage is cleared. If the user is logged in, they redirected to localhost:4200/#/customer-information
2. I tried removing the hash by deleting this:
RouterModule.forRoot(routes, {
useHash: true,
}), but it didn't work; the page just displays a blank screen.
3. Navigating to the /customer-information page without signing in displays a disorderly user interface (but there is no need to worry about it because even if the user tries to navigate to the page when not logged in, they will be redirected to the /login page). I will still resolve this in the future, but otherwise, everything is working fine.
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The base url (localhost:4200/) now redirects to localhost:4200/#/login If the user is not logged in, this is determined via the customer data added to the localstorage anytime the user signs in; however, on signout, the localstorage is cleared. If the user is logged in, they redirected to localhost:4200/#/customer-information
I tried removing the hash by deleting this:
RouterModule.forRoot(routes, {
useHash: true,
}), but it didn't work; the page just displays a blank screen.
Navigating to the /customer-information page without signing in displays a disorderly user interface (but there is no need to worry about it because even if the user tries to navigate to the page when not logged in, they will be redirected to the /login page). I will still resolve this in the future, but otherwise, everything is working fine.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.