Skip to content

Commit

Permalink
Merge pull request #46 from hasura/samirtalwar/health-check-configura…
Browse files Browse the repository at this point in the history
…tion-server

Add a health check for the configuration server that always passes.
  • Loading branch information
SamirTalwar authored Sep 25, 2023
2 parents 654f791 + 35d2380 commit e82a0f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust-connector-sdk/src/default_main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ where
.route("/", get(get_empty::<C>).post(post_update::<C>))
.route("/schema", get(get_config_schema::<C>))
.route("/validate", post(post_validate::<C>))
.route("/health", get(|| async {}))
.layer(cors);

axum::Server::bind(&address)
Expand Down

0 comments on commit e82a0f0

Please sign in to comment.