1
0
Fork 0
forked from alemi/upub

fix: add redirect for dev builds

This commit is contained in:
əlemi 2024-04-15 17:12:06 +02:00
parent e1176c7ec1
commit 22f5ccf886
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -37,6 +37,7 @@ fn main() {
<Router>
<main>
<Routes>
<Route path="/" view=move || view! { <Redirect path="/web" /> } />
<Route path="/web" view=move || view! { <Timeline token=cookie /> } />
<Route path="/web/users/:id" view=Actor />
// <Route path="/object/:id" view=Object />