Routing guard not hitting for flutter web #157
Answered
by
agordn52
vpdevportal
asked this question in
General
-
When I'm on the Flutter web app If I hit the URL path of a particular page directly in a browser it doesn't hit the routing guard applied to that path. |
Beta Was this translation helpful? Give feedback.
Answered by
agordn52
Jul 14, 2024
Replies: 1 comment 1 reply
-
Hi @vpdevportal, This is related to #118 At the moment Nylo can't run route guards on initialRoutes, you'll need to use a helper like |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
vpdevportal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @vpdevportal,
This is related to #118
At the moment Nylo can't run route guards on initialRoutes, you'll need to use a helper like
routeTo
to trigger it.If you have ideas for a PR, let me know.