diff --git a/src/main.rs b/src/main.rs index 48b7614..3b8f02f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -115,7 +115,7 @@ async fn main() { let app = Router::new() .route("/", get(route_index)) - .route("/station/:station", get(route_station_overview)) + .route("/station/:station_id", get(route_station_overview)) .route("/station/:station_id/to/:dest_station_id", get(route_station_to_dest_station)) .with_state(state); @@ -130,7 +130,11 @@ async fn route_index( ) -> Result, String> { let mut out = String::new(); - out.push_str("