Fix: jsonrpchandler requires mappings (#3970)

This commit is contained in:
shamoon 2024-09-10 00:13:36 -07:00 committed by GitHub
parent 8fa6454161
commit 52a4f1a423
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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