diff --git a/src/dev/index.html b/src/dev/index.html new file mode 100644 index 0000000..6adba2c --- /dev/null +++ b/src/dev/index.html @@ -0,0 +1,33 @@ + + + + + + Tiny Sprites + + + + +
+

Tiny Sprites

+
+
+ + + diff --git a/src/dev/server.tsx b/src/dev/server.tsx new file mode 100644 index 0000000..ef2390e --- /dev/null +++ b/src/dev/server.tsx @@ -0,0 +1,14 @@ +#!/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, +}