mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-14 00:40:30 +00:00
Fix: jsonrpchandler requires mappings (#3970)
This commit is contained in:
parent
8fa6454161
commit
52a4f1a423
1 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,12 @@ const widget = {
|
|||
api: "{url}/jsonrpc",
|
||||
proxyHandler: jsonrpcProxyHandler,
|
||||
allowedEndpoints: /status/,
|
||||
|
||||
mappings: {
|
||||
status: {
|
||||
endpoint: "status",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default widget;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue