Skip to content

Instantly share code, notes, and snippets.

@ansarizafar
Forked from yusukebe/hono-bun.ts
Created July 6, 2022 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ansarizafar/85f76b240e86f3ddbdde9df15692e981 to your computer and use it in GitHub Desktop.
Save ansarizafar/85f76b240e86f3ddbdde9df15692e981 to your computer and use it in GitHub Desktop.
import { Hono } from 'hono'
const app = new Hono()
app.get('/', (c) => {
return c.html('Hello Bun!')
})
export default {
port: 3000,
fetch: (req) => app.fetch(req),
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment