Feature: Add peaNUT Widget (#2450)

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Brandon McFarlin
2023-12-10 12:56:35 -05:00
committed by GitHub
parent a72ccb6d27
commit bccd73fe2d
7 changed files with 96 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import genericProxyHandler from "utils/proxy/handlers/generic";
const widget = {
api: "{url}/api/v1/{endpoint}/{key}",
proxyHandler: genericProxyHandler,
mappings: {
devices: {
endpoint: "devices",
},
},
};
export default widget;