add: delete and edit accounts page

This commit is contained in:
2023-12-01 01:29:56 +01:00
parent c2b6dbb989
commit 25f315c24f
12 changed files with 232 additions and 23 deletions

View File

@ -10,6 +10,7 @@ import LogoutView from "./views/accounts/LogoutView.js";
import { Client } from "./api/client.js";
import AbstractRedirectView from "./views/AbstractRedirectView.js";
import MeView from "./views/MeView.js";
let client = new Client(location.protocol + "//" + location.host)
@ -42,6 +43,7 @@ const router = async (uri = "") => {
{ path: "/register", view: RegisterView },
{ path: "/chat", view: Chat },
{ path: "/home", view: HomeView },
{ path: "/me", view: MeView },
];
// Test each route for potential match