You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
391 B
20 lines
391 B
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",
|
|
"domains_being_blocked"
|
|
]
|
|
},
|
|
},
|
|
};
|
|
|
|
export default widget;
|