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:
Diffstat (limited to 'web/assets')
-rw-r--r--web/assets/js/model/xray.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js
index 80c81da2..5bee1ac7 100644
--- a/web/assets/js/model/xray.js
+++ b/web/assets/js/model/xray.js
@@ -2295,7 +2295,7 @@ Inbound.WireguardSettings = class extends XrayCommonClass {
}
addPeer() {
- this.peers.push(new Inbound.WireguardSettings.Peer());
+ this.peers.push(new Inbound.WireguardSettings.Peer(null,null,'',['10.0.0.' + (this.peers.length+2)]));
}
delPeer(index) {