all repos — website @ a25028aa30bf0f3b89a9a7c99192e1a14267fc97

My website

Initial commit

Alan Pearce
commit

a25028aa30bf0f3b89a9a7c99192e1a14267fc97

1 file changed, 10 insertions(+), 0 deletions(-)

changed files
A src/index.ts
@@ -0,0 +1,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), +})