Pihole allow auth, updated API endpoint

This commit is contained in:
Michael Shamoon
2022-12-22 09:27:13 -08:00
parent de584eae8f
commit a9429e5335
2 changed files with 7 additions and 7 deletions

View File

@@ -1,12 +1,12 @@
import genericProxyHandler from "utils/proxy/handlers/generic";
const widget = {
api: "{url}/admin/{endpoint}",
api: "{url}/admin/api.php?{endpoint}&auth={key}",
proxyHandler: genericProxyHandler,
mappings: {
"api.php": {
endpoint: "api.php",
"summaryRaw": {
endpoint: "summaryRaw",
validate: [
"dns_queries_today",
"ads_blocked_today",