We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a70815 commit 0794a3dCopy full SHA for 0794a3d
src/server.rs
@@ -98,6 +98,9 @@ pub async fn main() -> Result<()> {
98
.service(api::scope())
99
.route("/", web::get().to(serve_index))
100
.route("/history", web::get().to(serve_index))
101
+ .route("/{id}", web::get().to(serve_index))
102
+ .route("/history/{id}", web::get().to(serve_index))
103
+ .route("/event/{id}", web::get().to(serve_index))
104
.route("/login", web::get().to(serve_index))
105
.route("/{filename:.*}", web::get().to(serve_file))
106
})
0 commit comments