aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/src/lib.rs
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-07-04 22:33:35 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-07-04 22:33:35 +0200
commitea05674b4473d9399f5aa6dca982ae73aad0ebcf (patch)
tree708b31b66295bde57b49ac9854c6778450de7132 /planetwars-server/src/lib.rs
parent268e080ec1b11e75309c3b134e16cf6ea7004ac6 (diff)
downloadplanetwars.dev-ea05674b4473d9399f5aa6dca982ae73aad0ebcf.tar.xz
planetwars.dev-ea05674b4473d9399f5aa6dca982ae73aad0ebcf.zip
remove obsolete create match route
Diffstat (limited to 'planetwars-server/src/lib.rs')
-rw-r--r--planetwars-server/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/planetwars-server/src/lib.rs b/planetwars-server/src/lib.rs
index 9c9a03c..8798945 100644
--- a/planetwars-server/src/lib.rs
+++ b/planetwars-server/src/lib.rs
@@ -85,7 +85,7 @@ pub fn api() -> Router {
)
.route(
"/matches",
- get(routes::matches::list_matches).post(routes::matches::play_match),
+ get(routes::matches::list_matches),
)
.route("/matches/:match_id", get(routes::matches::get_match_data))
.route(