aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'planetwars-server/src/lib.rs')
-rw-r--r--planetwars-server/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/planetwars-server/src/lib.rs b/planetwars-server/src/lib.rs
index 62bf198..1696f1a 100644
--- a/planetwars-server/src/lib.rs
+++ b/planetwars-server/src/lib.rs
@@ -125,6 +125,7 @@ fn api() -> Router {
get(routes::bots::list_bots).post(routes::bots::create_bot),
)
.route("/bots/:bot_name", get(routes::bots::get_bot))
+ .route("/bots/:bot_name/stats", get(routes::bots::get_bot_stats))
.route(
"/bots/:bot_name/upload",
post(routes::bots::upload_code_multipart),