mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
Some checks failed
--------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
18 lines
344 B
JavaScript
18 lines
344 B
JavaScript
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
|
|
|
const widget = {
|
|
api: "{url}/api/{endpoint}",
|
|
proxyHandler: credentialedProxyHandler,
|
|
|
|
mappings: {
|
|
statisticsv1: {
|
|
endpoint: "groups/statistics",
|
|
},
|
|
statisticsv2: {
|
|
endpoint: "households/statistics",
|
|
},
|
|
},
|
|
};
|
|
|
|
export default widget;
|