20 lines
344 B
JavaScript
Raw Normal View History

import genericProxyHandler from "utils/proxy/handlers/generic";
2022-09-26 00:35:54 +03:00
const widget = {
api: "{url}/{endpoint}",
proxyHandler: genericProxyHandler,
mappings: {
status: {
endpoint: "status",
2022-10-22 23:11:08 -07:00
validate: [
"numActiveSessions",
"numConnections",
"bytesProxied"
]
2022-09-26 00:35:54 +03:00
},
},
};
export default widget;