mirror of
https://github.com/honojs/hono.git
synced 2024-11-24 11:07:29 +01:00
chore(benchmark): support for new version
This commit is contained in:
parent
890cc46f78
commit
eda96e70fb
@ -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))
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user