{fix} outbound - wireguard

This commit is contained in:
mhsanaei committed 2024-06-07 14:41:45 +02:00
1 parent e1ef746cab
commit 713285457f
2 files changed
+1 -14

No files matched your search

-1
View File
@@ -1053,7 +1053,6 @@ Outbound.WireguardSettings = class extends CommonClass {
super();
this.mtu = mtu;
this.secretKey = secretKey;
this.pubKey = secretKey.length>0 ? Wireguard.generateKeypair(secretKey).publicKey : '';
this.address = address instanceof Array ? address.join(',') : address;
this.workers = workers;
this.domainStrategy = domainStrategy;