diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-08-27 17:05:11 +0200 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-08-27 17:05:11 +0200 |
commit | c80ce332791c94b83a03c9f7c3cbb937f474cc5d (patch) | |
tree | fee4c200d9e85e08f3fde3b6360599a47f818829 /planetwars-server/src/lib.rs | |
parent | e26f13c8bba24e6f966888d5909f2803665c55a0 (diff) | |
download | planetwars.dev-c80ce332791c94b83a03c9f7c3cbb937f474cc5d.tar.xz planetwars.dev-c80ce332791c94b83a03c9f7c3cbb937f474cc5d.zip |
allow selecting a map in editor view
Diffstat (limited to 'planetwars-server/src/lib.rs')
-rw-r--r-- | planetwars-server/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/planetwars-server/src/lib.rs b/planetwars-server/src/lib.rs index 4950815..fa1af8d 100644 --- a/planetwars-server/src/lib.rs +++ b/planetwars-server/src/lib.rs @@ -133,6 +133,7 @@ pub fn api() -> Router { "/matches/:match_id/log", get(routes::matches::get_match_log), ) + .route("/maps", get(routes::maps::list_maps)) .route("/leaderboard", get(routes::bots::get_ranking)) .route("/submit_bot", post(routes::demo::submit_bot)) .route("/save_bot", post(routes::bots::save_bot)) |