Add basic logout

This commit is contained in:
2026-01-11 15:31:59 -06:00
parent 4a4dc11aa4
commit 096a1235b5
4 changed files with 43 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ import { services } from "../services";
import type { Call, Result, Route } from "../types";
import { html, render } from "../util";
import { loginRoute } from "./login";
import { logoutRoute } from "./logout";
const routes: Record<string, Route> = {
hello: {
@@ -29,6 +30,7 @@ const routes: Record<string, Route> = {
},
},
login: loginRoute,
logout: logoutRoute,
};
export { routes };