From 5265e19507aba9948bafc984e4ccd796539c4c2f Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Mon, 28 Feb 2022 22:44:06 +0100 Subject: bot upload PoC --- planetwars-server/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'planetwars-server/src/lib.rs') 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 } -- cgit v1.2.3