feat: check guacd availability before RDP/VNC connection

This commit is contained in:
ZacharyZcR
2026-05-13 18:15:40 +08:00
committed by ZacharyZcR
parent ebed4a6d2e
commit a1a442281b
2 changed files with 21 additions and 3 deletions
+7
View File
@@ -4501,6 +4501,13 @@ export async function getGuacamoleTokenFromHost(
}
}
export async function getGuacdStatus(): Promise<{
guacd: { status: string };
}> {
const response = await authApi.get("/guacamole/status");
return response.data;
}
// ============================================================================
// RBAC MANAGEMENT
// ============================================================================