Replies: 1 comment 1 reply
-
Hi @mathysth Try: import { Hono } from 'hono'
const app = new Hono()
app.get('/', (c) => c.text('Hono!'))
Bun.serve({
fetch: app.fetch,
port: 3025
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
At the moment hono explain how to start the server with
export default
using Bun Http Object syntax apiBut in my case I need to start the server with
Bun.server({})
using Bun serve ApiBut when I do the following the server never start :
Also when I do this it still not work
Beta Was this translation helpful? Give feedback.
All reactions