Feature: Slskd Service Widget (#5045)
Some checks failed
Docker / Linting Checks (push) Has been cancelled
Docker / Docker Build & Push (push) Has been cancelled

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Chris
2025-03-21 00:46:54 -04:00
committed by GitHub
parent 7fd5e6ccb1
commit d853bbfe44
7 changed files with 116 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
import { asJson } from "utils/proxy/api-helpers";
const widget = {
api: `{url}/api/v0/{endpoint}`,
proxyHandler: credentialedProxyHandler,
mappings: {
application: {
endpoint: "application",
},
downloads: {
endpoint: "transfers/downloads",
},
uploads: {
endpoint: "transfers/uploads",
},
},
};
export default widget;