Skip to content

Commit 2b77a84

Browse files
authored
fix(desktop): correct health check endpoint URL to /global/health (#8231)
1 parent 7d0b52d commit 2b77a84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/desktop/src-tauri/src

packages/desktop/src-tauri/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ fn spawn_sidecar(app: &AppHandle, port: u32, password: &str) -> CommandChild {
198198
}
199199

200200
async fn check_server_health(url: &str, password: Option<&str>) -> bool {
201-
let health_url = format!("{}/health", url.trim_end_matches('/'));
201+
let health_url = format!("{}/global/health", url.trim_end_matches('/'));
202202
let client = reqwest::Client::builder()
203203
.timeout(Duration::from_secs(3))
204204
.build();

0 commit comments

Comments
 (0)