Shawn Lu 1 жил өмнө
parent
commit
35ff66f79b
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      src/faucet/faucet.ts

+ 2 - 2
src/faucet/faucet.ts

@@ -1,5 +1,5 @@
 import {
-  forEachAsync,
+  forEachAsync, generate2CaptchaProxyAgent,
   generateRandomString,
   getAxiosClient,
   getProxyAgent,
@@ -95,7 +95,7 @@ async function faucetLunch(concurrency: number = 8) {
               'lunch-fiat-currency': 'USD',
               'lunch-app-duid': account.duid,
             },
-            httpsAgent: getProxyAgent(),
+            httpsAgent: generate2CaptchaProxyAgent(),
           })
           const resp = await client.post(
             'https://api.lunchlunch.xyz/v1/auth/sign-in',