diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2024-02-22 22:10:25 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2024-02-22 22:10:25 +0300 |
| commit | 3cd1b59a6c0116446c9a6085d482ea9ba4c3e4ea (patch) | |
| tree | 961042cbeb10039ca1c7e65d9ad6e41c30a40f08 | |
| parent | 7ec6989c992d25d4993d78508b87db0582d6aa7a (diff) | |
[bug] fix wg reserved
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
| -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 6a52563d..05248b77 100644 --- a/web/assets/js/model/outbound.js +++ b/web/assets/js/model/outbound.js @@ -957,7 +957,7 @@ Outbound.WireguardSettings = class extends CommonClass { address: this.address ? this.address.split(",") : [], workers: this.workers?? undefined, domainStrategy: WireguardDomainStrategy.includes(this.domainStrategy) ? this.domainStrategy : undefined, - reserved: this.reserved ? this.reserved.split(",") : undefined, + reserved: this.reserved ? this.reserved.split(",").map(Number) : undefined, peers: Outbound.WireguardSettings.Peer.toJsonArray(this.peers), kernelMode: this.kernelMode, }; |
