Adds widget for NextDNS

This commit is contained in:
Luis Brito
2022-12-16 14:38:48 -03:00
parent e7b0fc1419
commit fb2492e577
4 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = {
api: "https://api.nextdns.io/profiles/{profile}/{endpoint}",
proxyHandler: credentialedProxyHandler,
mappings: {
"analytics/status": {
endpoint: "analytics/status",
validate: [
"data",
]
},
},
};
export default widget;