mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-03 05:32:11 +08:00
19 lines
402 B
JavaScript
19 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;
|