fix: add redirect for dev builds
This commit is contained in:
parent
e1176c7ec1
commit
22f5ccf886
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ fn main() {
|
||||||
<Router>
|
<Router>
|
||||||
<main>
|
<main>
|
||||||
<Routes>
|
<Routes>
|
||||||
|
<Route path="/" view=move || view! { <Redirect path="/web" /> } />
|
||||||
<Route path="/web" view=move || view! { <Timeline token=cookie /> } />
|
<Route path="/web" view=move || view! { <Timeline token=cookie /> } />
|
||||||
<Route path="/web/users/:id" view=Actor />
|
<Route path="/web/users/:id" view=Actor />
|
||||||
// <Route path="/object/:id" view=Object />
|
// <Route path="/object/:id" view=Object />
|
||||||
|
|
Loading…
Reference in a new issue