mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-02 21:43:39 +01:00
18 lines
355 B
JavaScript
18 lines
355 B
JavaScript
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;
|