Skip to content

Commit

Permalink
fix build info
Browse files Browse the repository at this point in the history
  • Loading branch information
reymondzzzz committed Dec 20, 2023
1 parent 4132002 commit 3d230b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion src/http/routers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

0 comments on commit 3d230b0

Please sign in to comment.