From 6a0bf72cb51801fd682940de504b2b9db1d9186e Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 12 Aug 2026 10:00:23 +0000 Subject: [PATCH] fix: correct API endpoint paths for authentication and token validation --- src-tauri/src/connection.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/connection.rs b/src-tauri/src/connection.rs index baf2ee6..58f9624 100644 --- a/src-tauri/src/connection.rs +++ b/src-tauri/src/connection.rs @@ -976,7 +976,7 @@ impl ConnectionManager { let client = build_client()?; - let login_url = format!("{}/access/ticket", url); + let login_url = format!("{}/api2/json/access/ticket", url); let params = [("username", username), ("password", password)]; @@ -1067,7 +1067,7 @@ impl ConnectionManager { let client = build_client()?; // Validate the token by making an authenticated request - let test_url = format!("{}/cluster/status", url); + let test_url = format!("{}/api2/json/cluster/status", url); let auth_header = format!("PVEAPIToken={}", token); let response = client