diff --git a/javascript/hono/app.ts b/javascript/hono/app.ts index 75a3c4ee087..14b4e3ae022 100644 --- a/javascript/hono/app.ts +++ b/javascript/hono/app.ts @@ -5,4 +5,8 @@ app.get("/", (c) => c.text("")); app.get("/user/:id", (c) => c.text(c.req.param("id"))); app.post("/user", (c) => c.text("")); -export default app; +Bun.serve({ + fetch: app.fetch, + reusePort: true, + port: 3000 +})