Skip to content

Nested routes at site root cause 404 error with actix-web #2030

Answered by gbj
bioinformatist asked this question in Q&A
Discussion options

You must be logged in to vote

You do not have a fallback Route path="" at the nested level so /:id is the only complete path it will match

See a bit more here https://leptos-rs.github.io/leptos/router/17_nested_routing.html#nested-routes-as-layout

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bioinformatist
Comment options

Answer selected by bioinformatist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants