add registration

This commit is contained in:
KingKDot
2026-04-19 18:24:50 -05:00
parent 86c1897406
commit d12dc04709
15 changed files with 1735 additions and 5 deletions
@@ -150,6 +150,11 @@ export async function handlePageRoutes(
return serveFile(deps, "change-password.html");
}
// ---- Registration page (always accessible, no auth needed) ----
if (url.pathname === "/register.html") {
return serveFile(deps, "register.html");
}
// ---- Static pages (table-driven) ----
for (const page of STATIC_PAGES) {
if (url.pathname !== page.path) continue;