21 lines
373 B
JavaScript
Raw Normal View History

2023-01-27 00:03:52 +01:00
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = {
api: "{url}/api/server-info/{endpoint}",
2023-01-27 00:03:52 +01:00
proxyHandler: credentialedProxyHandler,
mappings: {
version: {
endpoint: "version",
},
statistics: {
endpoint: "statistics",
},
stats: {
endpoint: "stats",
},
},
2023-01-27 00:03:52 +01:00
};
export default widget;