Ver Fonte

reducxe4

hel há 1 ano atrás
pai
commit
35dfdcc482
1 ficheiros alterados com 6 adições e 6 exclusões
  1. 6 6
      src/BaseClient.ts

+ 6 - 6
src/BaseClient.ts

@@ -43,16 +43,16 @@ export abstract class BaseClient {
     const rpc = rpcUrl[Math.floor(Math.random() * rpcUrl.length)]
     this.rpcUrlUsing = rpc
     const pass = `test1234_session-${generateRandomString(8)}_lifetime-20m`
-    const proxyAgent = useProxy
-      ? new HttpsProxyAgent(`http://tuxla:${pass}@geo.iproyal.com:12321`)
-      : undefined
+    // const proxyAgent = useProxy
+    //   ? new HttpsProxyAgent(`http://tuxla:${pass}@geo.iproyal.com:12321`)
+    //   : undefined
     const username = `u3e4c2852572e05c5-zone-custom-session-${generateRandomString(
       9,
     )}-sessTime-20`
     const password = 'u3e4c2852572e05c5'
-    // const proxyAgent = new HttpsProxyAgent(
-    //   `http://${username}:${password}@43.152.113.55:2334`,
-    // )
+    const proxyAgent = new HttpsProxyAgent(
+      `http://${username}:${password}@43.152.113.55:2334`,
+    )
 
     const requester = new APIRequester(rpc, {
       httpsAgent: proxyAgent,