Skip to content

Commit a10da64

Browse files
authored
Merge pull request #681 from Dstack-TEE/feat/gateway-health-endpoint
gw: expose /health on main RPC server
2 parents df0b302 + 254bac2 commit a10da64

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

gateway/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ async fn main() -> Result<()> {
312312

313313
let mut rocket = rocket::custom(figment)
314314
.mount("/prpc", prpc!(Proxy, RpcHandler, trim: "Tproxy."))
315+
.mount("/", web_routes::health_routes())
315316
// Mount WaveKV sync endpoint (requires mTLS gateway auth)
316317
.mount("/", web_routes::wavekv_sync_routes())
317318
.attach(AdHoc::on_response("Add app version header", |_req, res| {

0 commit comments

Comments
 (0)