0
0
mirror of https://github.com/honojs/hono.git synced 2024-12-01 11:51:01 +01:00
hono/example/basic/index.js
2021-12-17 17:16:26 +09:00

8 lines
142 B
JavaScript

const Hono = require('../../src/hono')
const app = Hono()
app.get('/', () => 'Hono!!')
app.get('/hello', () => 'This is /hello')
app.fire()