Switch to /api/current as that seems less likely to be removed, use pure jsonrpc

This commit is contained in:
shamoon
2026-01-04 10:21:38 -08:00
parent d24033dec2
commit 775c68675e
2 changed files with 12 additions and 24 deletions

View File

@@ -4,6 +4,7 @@ import { asJson, jsonArrayFilter } from "utils/proxy/api-helpers";
const widget = {
api: "{url}/api/v2.0/{endpoint}",
wsAPI: "{url}/api/current",
proxyHandler: truenasProxyHandler,
mappings: {