From f2b7302142a34bd29db5c6d087797a27806ba8fa Mon Sep 17 00:00:00 2001 From: Kirill Starkov Date: Wed, 20 Dec 2023 13:12:50 +0300 Subject: [PATCH] fix build info --- Cargo.toml | 2 +- src/http/routers.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 22fa68dda..ad62060f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ build = "build.rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [build-dependencies] -shadow-rs = { version = "0.25.0", features = [], default-features = false } +shadow-rs = "0.25.0" [dependencies] shadow-rs = { version = "0.25.0", features = [], default-features = false } diff --git a/src/http/routers.rs b/src/http/routers.rs index cf504b861..96390629e 100644 --- a/src/http/routers.rs +++ b/src/http/routers.rs @@ -13,5 +13,5 @@ pub fn make_refact_http_server() -> Router { Router::new() .fallback(handler_404) .nest("/v1", v1::make_v1_router()) - .route("/info", get(info::handle_info)) + .route("/build_info", get(info::handle_info)) }