mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 15:28:47 +00:00
Feature: Romm Widget (#2663)
--------- Co-authored-by: Karl Hudgell <karl.hudgell@bjss.com> Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
0cdc354ead
commit
f6ca3f57f7
7 changed files with 66 additions and 0 deletions
14
src/widgets/romm/widget.js
Normal file
14
src/widgets/romm/widget.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
import genericProxyHandler from "utils/proxy/handlers/generic";
|
||||
|
||||
const widget = {
|
||||
api: "{url}/api/{endpoint}",
|
||||
proxyHandler: genericProxyHandler,
|
||||
|
||||
mappings: {
|
||||
statistics: {
|
||||
endpoint: "platforms",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default widget;
|
Loading…
Add table
Add a link
Reference in a new issue