mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-03 14:03:40 +01:00
18 lines
295 B
JavaScript
18 lines
295 B
JavaScript
![]() |
import octoPrintProxyHandler from "./proxy";
|
||
|
|
||
|
const widget = {
|
||
|
api: "{url}/api/{endpoint}?apikey={key}",
|
||
|
proxyHandler: octoPrintProxyHandler,
|
||
|
|
||
|
mappings: {
|
||
|
printer_stats: {
|
||
|
endpoint: "printer",
|
||
|
},
|
||
|
job_stats: {
|
||
|
endpoint: "job",
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default widget;
|