fix(web): root redirect to /global
This commit is contained in:
parent
29d783ffd5
commit
d6e47f1acb
1 changed files with 1 additions and 1 deletions
|
@ -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 /> } />
|
||||||
|
|
Loading…
Reference in a new issue