mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 15:28:47 +00:00
initial
This commit is contained in:
parent
e20a0e90b2
commit
9f008fc04e
7 changed files with 8699 additions and 2 deletions
17
src/widgets/octoPrint/widget.js
Normal file
17
src/widgets/octoPrint/widget.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
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;
|
Loading…
Add table
Add a link
Reference in a new issue