File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
src/api/services/whatsapp Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1+ # 1.7.4 (develop)
2+
3+ ### Fixed
4+ * Adjusts in proxy
5+
16# 1.7.3 (2024-04-18 12:07)
27
38### Fixed
Original file line number Diff line number Diff line change @@ -517,13 +517,15 @@ export class BaileysStartupService extends WAStartupService {
517517 const proxyUrl = 'http://' + proxyUrls [ rand ] ;
518518 options = {
519519 agent : makeProxyAgent ( proxyUrl ) ,
520+ fetchAgent : makeProxyAgent ( proxyUrl ) ,
520521 } ;
521522 } catch ( error ) {
522523 this . localProxy . enabled = false ;
523524 }
524525 } else {
525526 options = {
526527 agent : makeProxyAgent ( this . localProxy . proxy ) ,
528+ fetchAgent : makeProxyAgent ( this . localProxy . proxy ) ,
527529 } ;
528530 }
529531 }
@@ -687,13 +689,15 @@ export class BaileysStartupService extends WAStartupService {
687689 const proxyUrl = 'http://' + proxyUrls [ rand ] ;
688690 options = {
689691 agent : makeProxyAgent ( proxyUrl ) ,
692+ fetchAgent : makeProxyAgent ( proxyUrl ) ,
690693 } ;
691694 } catch ( error ) {
692695 this . localProxy . enabled = false ;
693696 }
694697 } else {
695698 options = {
696699 agent : makeProxyAgent ( this . localProxy . proxy ) ,
700+ fetchAgent : makeProxyAgent ( this . localProxy . proxy ) ,
697701 } ;
698702 }
699703 }
You can’t perform that action at this time.
0 commit comments