Page MenuHomePhabricator

D9064.id30826.diff
No OneTemporary

D9064.id30826.diff

diff --git a/services/backup/src/http/mod.rs b/services/backup/src/http/mod.rs
--- a/services/backup/src/http/mod.rs
+++ b/services/backup/src/http/mod.rs
@@ -1,4 +1,4 @@
-use actix_web::{web, App, HttpServer};
+use actix_web::{web, App, HttpResponse, HttpServer};
use anyhow::Result;
use comm_services_lib::{
blob::client::BlobServiceClient,
@@ -32,6 +32,7 @@
))
.app_data(db.clone())
.app_data(blob.clone())
+ .route("/health", web::get().to(HttpResponse::Ok))
.service(
// Services that don't require authetication
web::scope("/backups/latest")

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 4:24 AM (17 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2566035
Default Alt Text
D9064.id30826.diff (605 B)

Event Timeline