Skip to content

Commit d96a0c6

Browse files
authored
Update main.rs
adición del health
1 parent 3546d4c commit d96a0c6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ async fn main() {
4343
validator::validate_signature_middleware,
4444
))
4545
.with_state(state);
46+
47+
let health = Router::new()
48+
.route("/health", axum::routing::get(routes::healthcheck))
49+
.nest("/", app);
4650

4751
println!("listening on {}", listener.local_addr().unwrap());
4852

0 commit comments

Comments
 (0)