Yusuke Wada

Results 1706 comments of Yusuke Wada

Hi @ikrom I can't reproduce it. Please provide a minimal project to reproduce it.

@ikrom You should access `/v1/home`: ```ts const res = await app.request( '/v1/home', { headers: { authorization: 'Bearer token', }, },//... ) ```

@ikrom I don't know, but the following code is working well: ```ts const app = new Hono().basePath('/v1') app.get('/home', async (c) => { return c.json({}) }) const res = await app.request(...

> should the `const app = new Hono()` in the same file with unit test? No.

Hey @exoego @usualoma @nakasyou and others What do you think about this?

That's an interesting topic. Quick response! Also, if you use [Cloudflare R2](https://developers.cloudflare.com/r2/), which is object storage, you have to create Workers with Hono to distribute assets (though there is another...

I've investigated. For Cloudflare R2, `c.env.BUCKET.get` can range access to the object. So, we may not need this middleware for it!

Indeed, there may not be a use case. BUT, I am personally concerned about Serve Static getting fat. That needs to be re-designed and discussed.

@exoego @nakasyou @usualoma Anyway, thank you for your comments! I'll make this PR as a draft and prepare to discuss about Serve Static and others. Now, we are implementing runtime-specific...

Hi @StefanLobbenmeier So, can we treat this issue as not a bug for `@hono/oidc-auth` and not need to fix?