all repos — website @ a25028aa30bf0f3b89a9a7c99192e1a14267fc97

My website

src/index.ts (view raw)

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),
})