mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-09 16:31:33 +01:00
20 lines
367 B
JavaScript
20 lines
367 B
JavaScript
![]() |
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;
|