diff options
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/index.ts b/src/index.ts deleted file mode 100644 index bc1cc19..0000000 --- a/src/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { serve } from '@hono/node-server' -import { Hono } from 'hono' - -const app = new Hono() - -app.get('/', (c) => { - return c.text('Hello Hono!') -}) - -serve({ - fetch: app.fetch, - port: 3000 -}, (info) => { - console.log(`Server is running on http://localhost:${info.port}`) -}) |