Display global statistics
This commit is contained in:
@ -155,6 +155,8 @@ async fn main() -> std::io::Result<()> {
|
||||
"/api/movement/{movement_id}",
|
||||
web::delete().to(movement_controller::delete),
|
||||
)
|
||||
// Statistics controller
|
||||
.route("/api/stats/global", web::get().to(stats_controller::global))
|
||||
// Static assets
|
||||
.route("/", web::get().to(static_controller::root_index))
|
||||
.route(
|
||||
|
Reference in New Issue
Block a user