This commit is contained in:
k
2026-09-21 23:28:31 +02:00
parent 0810ad4166
commit 0ee5a3521a
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -15,6 +15,10 @@ No router library — a tiny history wrapper (`lib/route.ts`: `navigate()`,
- `/register` — full-page self-registration (`RegisterPage.tsx`; key shown
once, then hands username+key to `/login` via `sessionStorage`). No splash.
- `/chat` — the platform itself (auth required; boots behind the splash).
Bare `/chat` is the empty composer (new chat, created lazily on first send).
- `/chat/:id` — one conversation page (deep-linkable, back/forward supported).
Selecting a chat navigates there; unknown ids bounce back to `/chat`.
Archived chats are viewed read-only on bare `/chat` (no per-id URL).
- `/` — redirects to `/chat` when logged in, `/login` otherwise (placeholder
for a future landing page).
- Public routes (unchanged): `/share/:publicId`, `/reset/:token`,