Replies: 1 comment
-
Routing is done before middleware is called. So if you need to rewrite the path from a middleware you need to apply it around the router. See #1120 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to make a multilingual website that redirects you to the homepage in the corresponding language when accessing it's / route, but for some reason Axum is no being able to redirect, but only when setting the redirection from the / route and routing normalization is active.
Beta Was this translation helpful? Give feedback.
All reactions