16 lines
310 B
JavaScript
16 lines
310 B
JavaScript
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
|
|
|
const widget = {
|
|
api: "{url}/api/v2/{endpoint}/{uuid}",
|
|
proxyHandler: credentialedProxyHandler,
|
|
|
|
mappings: {
|
|
checks: {
|
|
endpoint: "checks",
|
|
validate: ["status", "last_ping"],
|
|
},
|
|
},
|
|
};
|
|
|
|
export default widget;
|