Rework uptime kuma remove proxy display more info

This commit is contained in:
shamoon committed 2023-02-02 01:11:27 -08:00
1 parent c3d15a61c3
commit 015d7dac52
4 files changed
+45 -121

No files matched your search

+12 -2
View File
@@ -1,8 +1,18 @@
// import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
import uptimeKumaProxyHandler from "./proxy";
import genericProxyHandler from "utils/proxy/handlers/generic";
const widget = {
proxyHandler: uptimeKumaProxyHandler,
api: "{url}/api/{endpoint}/{slug}",
proxyHandler: genericProxyHandler,
mappings: {
status_page: {
endpoint: "status-page",
},
heartbeat: {
endpoint: "status-page/heartbeat",
},
}
};
export default widget;