Add healthcheck endpoint to router
This commit is contained in:
@@ -10,6 +10,7 @@ pub mod v1;
|
||||
pub fn router() -> Router<Arc<State>> {
|
||||
Router::new()
|
||||
.route("/", get(docs))
|
||||
.route("/healthcheck", get(healthcheck))
|
||||
.nest("/v1", v1::router())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user