fix(ui): Startadresse / leitet zur Weboberfläche

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GmHhg3bfByVgQ9z7CGCSGc
This commit is contained in:
2026-11-16 09:41:58 +01:00
parent 99b8dd5832
commit 6fe0bbce0d
2 changed files with 5 additions and 0 deletions

View File

@ -72,6 +72,8 @@ impl Viewer {
pub fn routes() -> Router<Arc<AppState>> {
Router::new()
// Wer nur die Adresse eintippt, landet in der Weboberfläche.
.route("/", get(|| async { redirect("/ui") }))
.route("/ui", get(overview))
.route("/ui/", get(overview))
.route("/ui/login", get(login_form).post(login))