Skip to content

Commit

Permalink
fix base automator http request string casting
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBrax committed Dec 23, 2024
1 parent 6db0b10 commit d25172d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/Core/Providers/Base/BaseAutomator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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", "")
);
}

Expand Down

0 comments on commit d25172d

Please sign in to comment.