mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-11 19:42:09 +08:00
16 lines
382 B
JavaScript
16 lines
382 B
JavaScript
import genericProxyHandler from "utils/proxy/handlers/generic";
|
|
|
|
const widget = {
|
|
api: "{url}/admin/api.php?{endpoint}&auth={key}",
|
|
proxyHandler: genericProxyHandler,
|
|
|
|
mappings: {
|
|
summaryRaw: {
|
|
endpoint: "summaryRaw",
|
|
validate: ["dns_queries_today", "ads_blocked_today", "ads_percentage_today", "domains_being_blocked"],
|
|
},
|
|
},
|
|
};
|
|
|
|
export default widget;
|