From d25172da13f34e55a5b4fbae873e662ad525bafc Mon Sep 17 00:00:00 2001 From: Braxen Date: Mon, 23 Dec 2024 20:00:46 +0100 Subject: [PATCH] fix base automator http request string casting --- server/src/Core/Providers/Base/BaseAutomator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/Core/Providers/Base/BaseAutomator.ts b/server/src/Core/Providers/Base/BaseAutomator.ts index 53f4eda2..ae6c6153 100644 --- a/server/src/Core/Providers/Base/BaseAutomator.ts +++ b/server/src/Core/Providers/Base/BaseAutomator.ts @@ -1659,10 +1659,10 @@ export class BaseAutomator { // stop retrying the fetch after COUNT retry attempt(s). cmd.push("--retry-max", "5"); - if (Config.getInstance().cfg("capture.http_proxy")) { + if (Config.getInstance().cfg("capture.http_proxy", "")) { cmd.push( "--http-proxy", - Config.getInstance().cfg("capture.http_proxy") + Config.getInstance().cfg("capture.http_proxy", "") ); }