You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
homepage/src/widgets/healthchecks/widget.js

19 lines
352 B

import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = {
api: "https://healthchecks.io/api/v2/{endpoint}/{uuid}",
proxyHandler: credentialedProxyHandler,
mappings: {
checks: {
endpoint: "checks",
validate: [
"status",
"last_ping",
]
},
},
};
export default widget;