fix: app.js deferred in head (fixes requireAuth undefined), extract app.css
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user