Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3344188
D9064.id30826.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
605 B
Referenced Files
None
Subscribers
None
D9064.id30826.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D9064: [backup] Add health endpoint
Attached
Detach File
Event Timeline
Log In to Comment