🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
283 B
TypeScript
15 lines
283 B
TypeScript
#!/usr/bin/env bun
|
|
import { Hono } from "hono"
|
|
import { serveStatic } from "hono/bun"
|
|
import index from "./index.html"
|
|
|
|
const app = new Hono()
|
|
|
|
app.use("/public/*", serveStatic({ root: "./" }))
|
|
app.get("/", (c) => c.html(index))
|
|
|
|
export default {
|
|
port: 3000,
|
|
fetch: app.fetch,
|
|
}
|