From 3cd774b299aa5efb1fb958243cef379fe183f483 Mon Sep 17 00:00:00 2001 From: Samuel Elliott Date: Mon, 28 Jul 2025 01:21:54 +0100 Subject: [PATCH] Fix API proxy client --- src/api/znc-proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/znc-proxy.ts b/src/api/znc-proxy.ts index 00f7348..f10dd4e 100644 --- a/src/api/znc-proxy.ts +++ b/src/api/znc-proxy.ts @@ -28,7 +28,7 @@ export default class ZncProxyApi extends AbstractCoralApi implements CoralApiInt if (typeof this.url === 'string' && !base_url.pathname.endsWith('/')) base_url.pathname += '/'; const [signal, cancel] = timeoutSignal(); - const response = await fetch(new URL(url, this.url), { + const response = await fetch(new URL(url, base_url), { method, headers: Object.assign({ 'Authorization': 'na ' + this.token,