mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-20 03:29:50 +00:00
Rework uptime kuma remove proxy display more info
This commit is contained in:
parent
c3d15a61c3
commit
015d7dac52
4 changed files with 45 additions and 121 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue