mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-19 02:59:50 +00:00
18 lines
402 B
JavaScript
18 lines
402 B
JavaScript
// import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
|
import genericProxyHandler from "utils/proxy/handlers/generic";
|
|
|
|
const widget = {
|
|
api: "{url}/api/{endpoint}/{slug}",
|
|
proxyHandler: genericProxyHandler,
|
|
|
|
mappings: {
|
|
status_page: {
|
|
endpoint: "status-page",
|
|
},
|
|
heartbeat: {
|
|
endpoint: "status-page/heartbeat",
|
|
},
|
|
}
|
|
};
|
|
|
|
export default widget;
|