mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-12 16:08:48 +00:00
Add Kopia widget (#1018)
* Add Kopia widget * Add Kopia widget * Modify Kopia widget blocks * Kopia next run / last run --------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
806b7f3cab
commit
addf0911a0
5 changed files with 92 additions and 0 deletions
14
src/widgets/kopia/widget.js
Executable file
14
src/widgets/kopia/widget.js
Executable file
|
@ -0,0 +1,14 @@
|
|||
import genericProxyHandler from "utils/proxy/handlers/generic";
|
||||
|
||||
const widget = {
|
||||
api: "{url}/{endpoint}",
|
||||
proxyHandler: genericProxyHandler,
|
||||
|
||||
mappings: {
|
||||
status: {
|
||||
endpoint: "api/v1/sources",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default widget;
|
Loading…
Add table
Add a link
Reference in a new issue