Skip to content

Update README with more info about custom routes #476

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oritheorca
Copy link

I ran into an issue where my some of my routes with parameters weren't behaving as expected. Turns out that in the current rewriter, routes without parameters match any requests for which the route path is a prefix of the request URL.

While it seems more intuitive to match only exact paths in both the param and non-param cases by default, that change may trip up existing users, so I'd suggest at least documenting this behavior in the README.

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

Successfully merging this pull request may close these issues.

1 participant