mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-19 02:59:50 +00:00
adding working mylar
This commit is contained in:
parent
aee8ba1e1d
commit
58e8109856
5 changed files with 68 additions and 0 deletions
20
src/widgets/mylar/widget.js
Normal file
20
src/widgets/mylar/widget.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
import genericProxyHandler from "utils/proxy/handlers/generic";
|
||||
|
||||
const widget = {
|
||||
api: "{url}/api?cmd={endpoint}&apikey={key}",
|
||||
proxyHandler: genericProxyHandler,
|
||||
|
||||
mappings: {
|
||||
issues: {
|
||||
endpoint: "getIndex"
|
||||
},
|
||||
series: {
|
||||
endpoint: "seriesjsonListing"
|
||||
},
|
||||
wanted: {
|
||||
endpoint: "getWanted"
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default widget;
|
Loading…
Add table
Add a link
Reference in a new issue