Skip to content

Commit 66628a8

Browse files
authored
Include gRPC port in about API response (#531)
1 parent 7f4da55 commit 66628a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/src/handlers/http/about.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ pub async fn about() -> Json<serde_json::Value> {
4040
let deployment_id = meta.deployment_id.to_string();
4141
let mode = CONFIG.mode_string();
4242
let staging = CONFIG.staging_dir();
43+
let grpc_port = CONFIG.parseable.grpc_port;
4344

4445
let store = CONFIG.storage().get_endpoint();
4546
let is_llm_active = &CONFIG.parseable.open_ai_key.is_some();
@@ -58,6 +59,7 @@ pub async fn about() -> Json<serde_json::Value> {
5859
"license": "AGPL-3.0-only",
5960
"mode": mode,
6061
"staging": staging,
62+
"grpcPort": grpc_port,
6163
"store": store
6264
}))
6365
}

0 commit comments

Comments
 (0)