Proxy test

This commit is contained in:
Allyson de Paula
2023-08-12 15:05:10 -03:00
parent 6e401eecde
commit 907a0ee135
2 changed files with 3 additions and 0 deletions

View File

@@ -121,6 +121,7 @@ import { RepositoryBroker } from '../repository/repository.manager';
import { Events, MessageSubtype, TypeMediaMessage, wa } from '../types/wa.types';
import { waMonitor } from '../whatsapp.module';
import { ChatwootService } from './chatwoot.service';
import { SocksProxyAgent } from 'socks-proxy-agent';
export class WAStartupService {
constructor(
@@ -874,6 +875,7 @@ export class WAStartupService {
return message;
},
// agent: new SocksProxyAgent('socks5://192.168.1.4:1080'),
};
this.endSession = false;