From e5c5f51670970f66068dd81fd705203186b1134c Mon Sep 17 00:00:00 2001 From: Elysia <71698422+aiko-chan-ai@users.noreply.github.com> Date: Sun, 29 Oct 2023 13:32:56 +0700 Subject: [PATCH] setGlobalProxy node-capmonster #888 --- src/rest/CaptchaSolver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/CaptchaSolver.js b/src/rest/CaptchaSolver.js index 263833c..9aae32a 100644 --- a/src/rest/CaptchaSolver.js +++ b/src/rest/CaptchaSolver.js @@ -104,7 +104,7 @@ module.exports = class CaptchaSolver { new Promise((resolve, reject) => { if (userAgent) client.setUserAgent(userAgent); if (this.proxy !== null) { - client.setProxy( + client.setGlobalProxy( this.proxy.protocol, this.proxy.host, this.proxy.port,