feat: custom docs page at /docs, drop swagger

This commit is contained in:
M1
2026-03-16 14:07:30 +04:00
parent eb45152c29
commit 7b38ff192e
5 changed files with 357 additions and 292 deletions
+1 -1
View File
@@ -12,4 +12,4 @@ export const dashboard = new Elysia()
.get("/dashboard/home", () => Bun.file(`${dir}/home.html`), hide)
.get("/dashboard/monitors/new", () => Bun.file(`${dir}/new.html`), hide)
.get("/dashboard/monitors/:id", () => Bun.file(`${dir}/detail.html`), hide)
.get("/dashboard/docs", () => Bun.file(`${dir}/docs.html`), hide);
.get("/docs", () => Bun.file(`${dir}/docs.html`), hide);