diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2024-01-11 09:27:21 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2024-01-11 09:27:21 +0300 |
| commit | bee690429f5a5a4639679236b414d42dbdd6b762 (patch) | |
| tree | 0134c71ef87a417f9dc32bec6bdb1e9530c13c3a /web/assets/js | |
| parent | 2111632702ad8b370bf3dc224b40f0c7385001ab (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.js | 2 |
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, }; |
