Add Deluge widget

- Create semi-generic jsonrpc proxy handler
- Refactor NZBGet to use jsonrpc proxy handler

closes #190
This commit is contained in:
Jason Fischer 2022-11-23 11:51:53 -08:00
parent 92d456dbf4
commit 7266390491
No known key found for this signature in database
9 changed files with 217 additions and 42 deletions

View file

@ -1,7 +1,8 @@
import nzbgetProxyHandler from "./proxy";
import jsonrpcProxyHandler from "utils/proxy/handlers/jsonrpc";
const widget = {
proxyHandler: nzbgetProxyHandler,
api: "{url}/jsonrpc",
proxyHandler: jsonrpcProxyHandler,
};
export default widget;