setGlobalProxy node-capmonster

#888
This commit is contained in:
Elysia 2023-10-29 13:32:56 +07:00
parent 842efd9ac2
commit e5c5f51670

View File

@ -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,