Changed API endpoint to /stats, which gives the same information as the RomM dashboard in a much more easily handled fashion.
15 lines
247 B
JavaScript
15 lines
247 B
JavaScript
import genericProxyHandler from "utils/proxy/handlers/generic";
|
|
|
|
const widget = {
|
|
api: "{url}/api/{endpoint}",
|
|
proxyHandler: genericProxyHandler,
|
|
|
|
mappings: {
|
|
statistics: {
|
|
endpoint: "stats",
|
|
},
|
|
},
|
|
};
|
|
|
|
export default widget;
|