-
-
Notifications
You must be signed in to change notification settings - Fork 573
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
default or wildcard route #50
Comments
Hi @justinnoel I released latest version as v0.0.15 by npm registry. You can try if you upgrade Hono. |
Awesome! Thanks! Trying it right now with just upgrading to Hono 0.0.15. Getting this:
This is coming from Miniflare (2.0.0). I'm going to try to resolve this and then confirm for you that the default routing is working properly. |
Hi @justinnoel ! I fixed bugs about |
Woohoo 🥳! That definitely fixed the ReadableStream bug. I've confirmed the default route feature addition is working perfectly. Thanks so much for your amazing support! |
Is there any way to create a default or wildcard route? For example, if I want to build a custom 404 handler, I can't seem to be able to do it.
Example I thought would work:
However, the last wildcard route always takes precedence. There seems to be no way for the first route to be handled appropriately and all other routes use the
handleCustom404
function.The text was updated successfully, but these errors were encountered: