diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-02-28 22:44:06 +0100 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-02-28 22:44:06 +0100 |
commit | 5265e19507aba9948bafc984e4ccd796539c4c2f (patch) | |
tree | 19a2bc51091d672d6d41ddc3a1c70382016db9ee /planetwars-server/src/lib.rs | |
parent | da3d7ed02d995794d5c8aab2563e4d0f53d33416 (diff) | |
download | planetwars.dev-5265e19507aba9948bafc984e4ccd796539c4c2f.tar.xz planetwars.dev-5265e19507aba9948bafc984e4ccd796539c4c2f.zip |
bot upload PoC
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 ec12997..6cc2824 100644 --- a/planetwars-server/src/lib.rs +++ b/planetwars-server/src/lib.rs @@ -90,6 +90,7 @@ pub async fn api(configuration: Configuration) -> Router { get(routes::matches::get_match_log), ) .route("/submit_bot", post(routes::demo::submit_bot)) + .route("/save_bot", post(routes::bots::save_bot)) .layer(AddExtensionLayer::new(db_pool)); api } |