Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2024-01-11 09:27:21 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2024-01-11 09:27:21 +0300
commitbee690429f5a5a4639679236b414d42dbdd6b762 (patch)
tree0134c71ef87a417f9dc32bec6bdb1e9530c13c3a /web/assets/js
parent2111632702ad8b370bf3dc224b40f0c7385001ab (diff)
WARP via wireguard
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/assets/js')
-rw-r--r--web/assets/js/model/outbound.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index b8ce2f77..0191c4a4 100644
--- a/web/assets/js/model/outbound.js
+++ b/web/assets/js/model/outbound.js
@@ -988,7 +988,7 @@ Outbound.WireguardSettings.Peer = class extends CommonClass {
return {
publicKey: this.publicKey,
preSharedKey: this.psk.length>0 ? this.psk : undefined,
- allowedIPs: this.allowedIPs ? this.allowedIPs.split(",") : undefined,
+ allowedIPs: this.allowedIPs ? this.allowedIPs : undefined,
endpoint: this.endpoint,
keepAlive: this.keepAlive?? undefined,
};