summary refs log tree commit diff stats
path: root/src/index.ts
blob: 8c0a3bae2f1eead309487e7bb5ce4924ee9aa7f8 (plain)
1
2
3
4
5
6
7
8
9
10
import { withHtmlLiveReload } from "bun-html-live-reload";
import Siopao from "siopao";

const router = new Siopao();

router.get("/status", () => new Response("OK"));

export default withHtmlLiveReload({
  fetch: router.fetch.bind(router),
})