aboutsummaryrefslogtreecommitdiff
path: root/examples/hono/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hono/src/index.ts')
-rw-r--r--examples/hono/src/index.ts19
1 files changed, 0 insertions, 19 deletions
diff --git a/examples/hono/src/index.ts b/examples/hono/src/index.ts
deleted file mode 100644
index 801955af3..000000000
--- a/examples/hono/src/index.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-import { Hono } from "hono";
-import { serveStatic } from 'hono/serve-static.bun';
-
-const port = parseInt(process.env.PORT) || 3000;
-
-const app = new Hono();
-
-app.use('/favicon.ico', serveStatic({ path: './public/favicon.ico' }));
-
-app.get("/", (c) => {
- return c.json({ message: "Hello World!" });
-});
-
-console.log(`Running at http://localhost:${port}`);
-
-export default {
- port,
- fetch: app.fetch
-};