Fix: jsonrpchandler requires mappings (#3970)

pull/3976/head v0.9.8
shamoon 2 months ago committed by GitHub
parent 8fa6454161
commit 52a4f1a423
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4,6 +4,12 @@ const widget = {
api: "{url}/jsonrpc", api: "{url}/jsonrpc",
proxyHandler: jsonrpcProxyHandler, proxyHandler: jsonrpcProxyHandler,
allowedEndpoints: /status/, allowedEndpoints: /status/,
mappings: {
status: {
endpoint: "status",
},
},
}; };
export default widget; export default widget;

Loading…
Cancel
Save