Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parameters with Route #109

Open
norricorp opened this issue Mar 20, 2023 · 1 comment
Open

parameters with Route #109

norricorp opened this issue Mar 20, 2023 · 1 comment

Comments

@norricorp
Copy link

The docs show how to do the above.


So my code is


In a browser, if I try to http://localhost:3000/resetpw then that page is not found.
And equally if I use http://localhost:3000/resetpw?token=ewudheiuhdeuih then same result.

So two questions.
Any ideas what I am doing wrong?
If Route has a parameter, does that parameter have to be present to be picked up by Route?

Regards,
John

@norricorp
Copy link
Author

So I have just realised that I actually need http://localhost:3000/resetpw/ewudheiuhdeuih.
Which is a bit of an issue because the url will be delivered with params.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant