From bee690429f5a5a4639679236b414d42dbdd6b762 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Thu, 11 Jan 2024 09:57:21 +0330 Subject: WARP via wireguard Co-Authored-By: Alireza Ahmadi --- web/assets/js/model/outbound.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/assets') 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, }; -- cgit v1.2.3