mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 06:08:48 +00:00
Fix: rename pialert to netalertx (#3253)
This commit is contained in:
parent
9904c2db2f
commit
d49a06efd9
8 changed files with 59 additions and 57 deletions
14
src/widgets/netalertx/widget.js
Normal file
14
src/widgets/netalertx/widget.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
import genericProxyHandler from "utils/proxy/handlers/generic";
|
||||
|
||||
const widget = {
|
||||
api: "{url}/php/server/devices.php?action=getDevicesTotals",
|
||||
proxyHandler: genericProxyHandler,
|
||||
|
||||
mappings: {
|
||||
data: {
|
||||
endpoint: "data",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default widget;
|
Loading…
Add table
Add a link
Reference in a new issue