mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-14 00:40:30 +00:00
15 lines
317 B
JavaScript
15 lines
317 B
JavaScript
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
|
|
|
const widget = {
|
|
api: "{url}/api/{endpoint}",
|
|
proxyHandler: credentialedProxyHandler,
|
|
|
|
mappings: {
|
|
statistics: {
|
|
endpoint: "statistics/?format=json",
|
|
validate: ["documents_total"],
|
|
},
|
|
},
|
|
};
|
|
|
|
export default widget;
|