Skip to content

Commit d2b131d

Browse files
committed
explicitely set the router base path to root
1 parent 3780a05 commit d2b131d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub fn App() -> impl IntoView {
3434
<Meta charset="UTF-8" />
3535
<Meta name="viewport" content="width=device-width, initial-scale=1.0" />
3636

37-
<Router>
37+
<Router base="/">
3838
<Routes fallback=|| view! { NotFound }>
3939
<Route path=path!("/home") view=Home />
4040
<Route path=path!("/getting-started") view=GettingStarted />

0 commit comments

Comments
 (0)