From 9f6acebb85bf9903da6916c4ea58e93daae88168 Mon Sep 17 00:00:00 2001 From: alemi Date: Sat, 29 Jun 2024 04:30:07 +0200 Subject: [PATCH] fix(web): oops now default route is /web/global --- web/src/app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/app.rs b/web/src/app.rs index 77b0d37b..8992acde 100644 --- a/web/src/app.rs +++ b/web/src/app.rs @@ -66,7 +66,7 @@ pub fn App() -> impl IntoView { let (menu, set_menu) = create_signal(screen_width < 768); let (advanced, set_advanced) = create_signal(false); - let title_target = move || if auth.present() { "/web/home" } else { "/web/server" }; + let title_target = move || if auth.present() { "/web/home" } else { "/web/global" }; // refresh token immediately and every hour let refresh = move || spawn_local(async move { Auth::refresh(auth.token, set_token, set_userid).await; }); @@ -76,7 +76,7 @@ pub fn App() -> impl IntoView { view! {