mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-13 00:18:50 +00:00
17 lines
326 B
JavaScript
17 lines
326 B
JavaScript
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
|
|
|
const widget = {
|
|
api: "{url}/api/application/{endpoint}",
|
|
proxyHandler: credentialedProxyHandler,
|
|
|
|
mappings: {
|
|
nodes: {
|
|
endpoint: "nodes?include=servers",
|
|
validate: [
|
|
"data"
|
|
]
|
|
},
|
|
},
|
|
};
|
|
|
|
export default widget;
|