Fix synology param encoding
Some checks are pending
Docker / Linting Checks (push) Waiting to run
Docker / Docker Build & Push (push) Blocked by required conditions

This commit is contained in:
shamoon
2024-12-16 10:45:52 -08:00
parent c437b414ab
commit bc3adf1f2a
3 changed files with 16 additions and 10 deletions

View File

@@ -2,7 +2,7 @@ import synologyProxyHandler from "../../utils/proxy/handlers/synology";
const widget = {
// cgiPath and maxVersion are discovered at runtime, don't supply
api: "{url}/webapi/{cgiPath}?api={apiName}&version={maxVersion}&method={apiMethod}",
api: "{url}/webapi/{cgiPath}?api={apiName}&version={maxVersion}&method={apiMethod}&{authParams}",
proxyHandler: synologyProxyHandler,
mappings: {

View File

@@ -2,7 +2,7 @@ import synologyProxyHandler from "../../utils/proxy/handlers/synology";
const widget = {
// cgiPath and maxVersion are discovered at runtime, don't supply
api: "{url}/webapi/{cgiPath}?api={apiName}&version={maxVersion}&method={apiMethod}",
api: "{url}/webapi/{cgiPath}?api={apiName}&version={maxVersion}&method={apiMethod}&{authParams}",
proxyHandler: synologyProxyHandler,
mappings: {