1
0
Fork 0
forked from alemi/upub

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() {
view! { <Redirect path="home" /> }
} else {
view! { <Redirect path="server" /> }
view! { <Redirect path="global" /> }
}
/>
<Route path="home" view=move || view! { <Feed tl=feeds.home /> } />