mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-16 14:32:08 +08:00
Feature: support multiple checks for healthchecks widget (#2580)
* Change healthchecks online/offline with the original up/down * Add group statistics to healthcheck widget * Update healthchecks docs --------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
||||
|
||||
const widget = {
|
||||
api: "{url}/api/v2/{endpoint}/{uuid}",
|
||||
api: "{url}/api/v3/{endpoint}/{uuid}",
|
||||
proxyHandler: credentialedProxyHandler,
|
||||
|
||||
mappings: {
|
||||
checks: {
|
||||
endpoint: "checks",
|
||||
validate: ["status", "last_ping"],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user