health panel implementation
This commit is contained in:
@@ -188,4 +188,10 @@ export async function updateSettings(updates) {
|
||||
});
|
||||
if (!res.ok) throw new Error(`Failed to update settings: ${res.status}`);
|
||||
return res.json();
|
||||
}
|
||||
|
||||
export async function getServiceHealth() {
|
||||
const res = await fetch(`${BASE_URL}/health/services`);
|
||||
if (!res.ok) throw new Error(`Failed to fetch health: ${res.status}`);
|
||||
return res.json();
|
||||
}
|
||||
Reference in New Issue
Block a user