Initial commit
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), +})