#Redirect to Homepage regarding of provided url

1 messages · Page 1 of 1 (latest)

visual sail
#

Hey,

I have a issue with the routing in angular, but this time, if I try to access any page other than the main page, it automaticly redirects me to the main page.
Yes, i have guards in the application that control routing, if the authentication fails, but it didn't fail.

The routes are being added lazily, is this probably an issue, due to the unavailability of the routes at the page-opening?

here are the routing configs, resolvers and guards => https://pastes.dev/gDPEoF5eP5

last lotus
#

Didn't you guard every route to be accessible only by Admin?
Are you trying to navigate to them as normal user?

grizzled island
#

what is your host environment ? is it local ng serve ?