Skip to content

Commit 14c3a74

Browse files
committed
Fix rendering of root URL in site
1 parent ea273e6 commit 14c3a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ async fn handle_fs_path(req: &Request, path: &str) -> Option<http::Response<hype
607607
}
608608

609609
let source = match path {
610-
"/index.html" => render_page("graphs.html").await,
610+
"" | "/" | "/index.html" => render_page("graphs.html").await,
611611
"/bootstrap.html"
612612
| "/compare.html"
613613
| "/dashboard.html"

0 commit comments

Comments
 (0)