Skip to content

post route not found #2426

Discussion options

You must be logged in to vote

Using this line
.mount("/register", routes![register])
the route will be located at "/register/register". I guess you're expecting it to be found at "/register".
So, using
.mount("/", routes![index, register])
should probably work.

Replies: 1 comment 1 reply

Comment options

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

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