Yusuke Wada
Yusuke Wada
We should have this function as is. The `MOCK_ENV` will be passed as `c.env`, but it will be used only for Cloudflare Workers/Pages. This is because of a runtime limitation....
Hi @marceloverdijk thank you for raising the issue. @metrue Do you know why we added the three spaces to it? If there is no specific reason, I think we can...
@metrue Thank you for your explanation. So, let's remove the spaces. I'll merge the #3334 by @marceloverdijk .
Hi @alvinsw You may do it with custom middleware. But, though I've tried, I haven't found a good way right now.
Hi @sparrowsl This is not a bug. Trailing Slash Middleware is enabled only in the `GET` request. https://hono.dev/docs/middleware/builtin/trailing-slash#note
This Trailing Slash Middleware will make the target request that has `/` in the end *redirect* to the endpoint without `/`. If it allows `POST`, redirecting to another URL is...
@sparrowsl Can your problem be solved with the `strict` option of the `Hono` constructor? https://hono.dev/docs/api/hono#strict-mode
Hi @patrick-kw-chiu Please keep using your workaround. That method is best. And, you can get the validated value with the `c.req.valid()` method. The type definition may be correct. ```ts const...
Hi @alex-grover That's a good point. `$url` should accept `query`. > If this is a desired change, I'm happy to open a PR! Please create a PR! I think we...
Hi @redbaron76 Have you ever tried `@hono/vite-dev-server`? https://github.com/honojs/vite-plugins/tree/main/packages/dev-server?