Created
July 6, 2022 01:26
-
-
Save yusukebe/0822c1629fc05027dcc8302ddaafc932 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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