mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-02 13:33:40 +01:00
Fix: jsonrpchandler requires mappings (#3970)
This commit is contained in:
parent
8fa6454161
commit
52a4f1a423
@ -4,6 +4,12 @@ const widget = {
|
||||
api: "{url}/jsonrpc",
|
||||
proxyHandler: jsonrpcProxyHandler,
|
||||
allowedEndpoints: /status/,
|
||||
|
||||
mappings: {
|
||||
status: {
|
||||
endpoint: "status",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default widget;
|
||||
|
Loading…
x
Reference in New Issue
Block a user