fix: app.js deferred in head (fixes requireAuth undefined), extract app.css

This commit is contained in:
M1
2026-03-16 15:16:59 +04:00
parent e36c239000
commit 87c924d8d0
4 changed files with 7 additions and 4 deletions
+1
View File
@@ -15,6 +15,7 @@ const dashDir = resolve(import.meta.dir, "../dashboard");
export const dashboard = new Elysia()
.get("/dashboard/app.js", () => Bun.file(`${dashDir}/app.js`))
.get("/dashboard/app.css", () => Bun.file(`${dashDir}/app.css`))
.get("/dashboard/query-builder.js",() => Bun.file(`${dashDir}/query-builder.js`))
// Auth / login page (static — no nav needed)