diff --git a/benchmarks/deno/hono-reg-exp-router.ts b/benchmarks/deno/hono-reg-exp-router.ts index b2837b31..09705d2e 100644 --- a/benchmarks/deno/hono-reg-exp-router.ts +++ b/benchmarks/deno/hono-reg-exp-router.ts @@ -16,4 +16,4 @@ app.get('/user/lookup/username/:username', (c) => { return c.json({ message: `Hello ${c.req.param('username')}` }) }) -serve(app.fire()) +serve((req) => app.fetch(req)) diff --git a/benchmarks/deno/hono.ts b/benchmarks/deno/hono.ts index cf64f1b7..424a53f8 100644 --- a/benchmarks/deno/hono.ts +++ b/benchmarks/deno/hono.ts @@ -16,4 +16,4 @@ app.get('/user/lookup/username/:username', (c) => { return c.json({ message: `Hello ${c.req.param('username')}` }) }) -serve(app.fire()) +serve((req) => app.fetch(req))