fix(web): root redirect to /global

This commit is contained in:
əlemi 2024-07-03 03:22:00 +02:00
parent 29d783ffd5
commit d6e47f1acb
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -113,7 +113,7 @@ pub fn App() -> impl IntoView {
if auth.present() { if auth.present() {
view! { <Redirect path="home" /> } view! { <Redirect path="home" /> }
} else { } else {
view! { <Redirect path="server" /> } view! { <Redirect path="global" /> }
} }
/> />
<Route path="home" view=move || view! { <Feed tl=feeds.home /> } /> <Route path="home" view=move || view! { <Feed tl=feeds.home /> } />