mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-18 13:06:32 -06:00
Proxy test
This commit is contained in:
parent
6e401eecde
commit
907a0ee135
@ -73,6 +73,7 @@
|
|||||||
"qrcode-terminal": "^0.12.0",
|
"qrcode-terminal": "^0.12.0",
|
||||||
"redis": "^4.6.5",
|
"redis": "^4.6.5",
|
||||||
"sharp": "^0.30.7",
|
"sharp": "^0.30.7",
|
||||||
|
"socks-proxy-agent": "^8.0.1",
|
||||||
"uuid": "^9.0.0"
|
"uuid": "^9.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -121,6 +121,7 @@ import { RepositoryBroker } from '../repository/repository.manager';
|
|||||||
import { Events, MessageSubtype, TypeMediaMessage, wa } from '../types/wa.types';
|
import { Events, MessageSubtype, TypeMediaMessage, wa } from '../types/wa.types';
|
||||||
import { waMonitor } from '../whatsapp.module';
|
import { waMonitor } from '../whatsapp.module';
|
||||||
import { ChatwootService } from './chatwoot.service';
|
import { ChatwootService } from './chatwoot.service';
|
||||||
|
import { SocksProxyAgent } from 'socks-proxy-agent';
|
||||||
|
|
||||||
export class WAStartupService {
|
export class WAStartupService {
|
||||||
constructor(
|
constructor(
|
||||||
@ -874,6 +875,7 @@ export class WAStartupService {
|
|||||||
|
|
||||||
return message;
|
return message;
|
||||||
},
|
},
|
||||||
|
// agent: new SocksProxyAgent('socks5://192.168.1.4:1080'),
|
||||||
};
|
};
|
||||||
|
|
||||||
this.endSession = false;
|
this.endSession = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user