mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
Added support to watchtower statistics
This commit is contained in:
14
src/widgets/watchtower/widget.js
Normal file
14
src/widgets/watchtower/widget.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import watchtowerProxyHandler from "./proxy";
|
||||
|
||||
const widget = {
|
||||
api: "{url}/{endpoint}",
|
||||
proxyHandler: watchtowerProxyHandler,
|
||||
|
||||
mappings: {
|
||||
"watchtower": {
|
||||
endpoint: "v1/metrics",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default widget;
|
||||
Reference in New Issue
Block a user