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:
authorMHSanaei <ho3ein.sanaei@gmail.com>2024-01-29 23:06:21 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2024-01-29 23:06:21 +0300
commit9f904f8f473bb3e167c5e37b0b2eff4fb5feeb92 (patch)
tree2fb7716814b6933108e5fc14e470609e96b1d091
parent78e1194ebb32652908aa5e74dabffba9bdb3307f (diff)
warp - ForceIP
ForceIPv6v4 to ForceIP
-rw-r--r--web/assets/js/model/outbound.js2
-rw-r--r--web/html/xui/warp_modal.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index 42fb50a1..7207561e 100644
--- a/web/assets/js/model/outbound.js
+++ b/web/assets/js/model/outbound.js
@@ -915,7 +915,7 @@ Outbound.HttpSettings = class extends CommonClass {
Outbound.WireguardSettings = class extends CommonClass {
constructor(
mtu=1420, secretKey=Wireguard.generateKeypair().privateKey,
- address=[''], workers=2, domainStrategy='ForceIPv6v4', reserved='',
+ address=[''], workers=2, domainStrategy='ForceIP', reserved='',
peers=[new Outbound.WireguardSettings.Peer()], kernelMode=false) {
super();
this.mtu = mtu;
diff --git a/web/html/xui/warp_modal.html b/web/html/xui/warp_modal.html
index 4e6dd4fa..38310a69 100644
--- a/web/html/xui/warp_modal.html
+++ b/web/html/xui/warp_modal.html
@@ -140,7 +140,7 @@
mtu: 1420,
secretKey: warpModal.warpData.private_key,
address: Object.values(config.interface.addresses),
- domainStrategy: 'ForceIPv6v4',
+ domainStrategy: 'ForceIP',
peers: [{
publicKey: peer.public_key,
endpoint: peer.endpoint.host,