mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
Compare commits
2 Commits
feat-perce
...
fix-embedd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b6326603d1 | ||
|
|
8bed3cb352 |
@@ -62,6 +62,7 @@ impl Health {
|
|||||||
#[my_codegen::get(path = "crate::V1_API_ROUTES.meta.health")]
|
#[my_codegen::get(path = "crate::V1_API_ROUTES.meta.health")]
|
||||||
async fn health(data: AppData) -> impl Responder {
|
async fn health(data: AppData) -> impl Responder {
|
||||||
let mut resp_builder = HealthBuilder::default();
|
let mut resp_builder = HealthBuilder::default();
|
||||||
|
resp_builder.redis(None);
|
||||||
|
|
||||||
resp_builder.db(data.db.ping().await);
|
resp_builder.db(data.db.ping().await);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user