From f286080edd54a0713c0fc42b63b60e14ab3989e4 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Thu, 11 Jan 2024 01:51:12 +0100 Subject: [PATCH] small fixes --- .github/workflows/release.yml | 2 +- web/assets/js/model/outbound.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 94efaa20..e6594957 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,7 +65,7 @@ jobs: unzip Xray-linux-arm32-v7a.zip rm -f Xray-linux-arm32-v7a.zip fi - rm -f geoip.dat geosite.dat geoip_IR.dat geosite_IR.dat geoip_VN.dat geosite_VN.dat + rm -f geoip.dat geosite.dat geoip_IR.dat geosite_IR.dat wget https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat wget https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat wget -O geoip_IR.dat https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js index a3be7abf..dc31465a 100644 --- a/web/assets/js/model/outbound.js +++ b/web/assets/js/model/outbound.js @@ -985,7 +985,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, };