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
path: root/web
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-08-26 20:36:23 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-08-26 21:54:56 +0300
commit149bd0ec51adddbc4017a978f1e54ba3f7739619 (patch)
treeb941245efb13850e3c2544ae8c5302d3794dcaac /web
parentf3280b46fea0933be174acb0ea58c308337836da (diff)
v1.7.7
Diffstat (limited to 'web')
-rw-r--r--web/assets/js/model/xray.js3
-rw-r--r--web/html/common/qrcode_modal.html2
-rw-r--r--web/html/xui/inbound_info_modal.html2
3 files changed, 2 insertions, 5 deletions
diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js
index 9027e6b7..2b337c9f 100644
--- a/web/assets/js/model/xray.js
+++ b/web/assets/js/model/xray.js
@@ -1748,7 +1748,6 @@ Inbound.VmessSettings = class extends Inbound.Settings {
vmesses=[new Inbound.VmessSettings.Vmess()]) {
super(protocol);
this.vmesses = vmesses;
- this.disableInsecure = disableInsecureEncryption;
}
indexOfVmessById(id) {
@@ -1773,14 +1772,12 @@ Inbound.VmessSettings = class extends Inbound.Settings {
return new Inbound.VmessSettings(
Protocols.VMESS,
json.clients.map(client => Inbound.VmessSettings.Vmess.fromJson(client)),
- ObjectUtil.isEmpty(json.disableInsecureEncryption) ? false : json.disableInsecureEncryption,
);
}
toJson() {
return {
clients: Inbound.VmessSettings.toJsonArray(this.vmesses),
- disableInsecureEncryption: this.disableInsecure,
};
}
};
diff --git a/web/html/common/qrcode_modal.html b/web/html/common/qrcode_modal.html
index 0b815690..51dc38cb 100644
--- a/web/html/common/qrcode_modal.html
+++ b/web/html/common/qrcode_modal.html
@@ -87,7 +87,7 @@
},
genSubLink(subID) {
const { domain: host, port, tls: isTLS, path: base } = app.subSettings;
- return buildURL({ host, port, isTLS, base, path: subID+'?name='+subID });
+ return buildURL({ host, port, isTLS, base, path: subID+'?name='+remark });
}
},
updated() {
diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html
index c162c1af..a82451b3 100644
--- a/web/html/xui/inbound_info_modal.html
+++ b/web/html/xui/inbound_info_modal.html
@@ -296,7 +296,7 @@
},
genSubLink(subID) {
const { domain: host, port, tls: isTLS, path: base } = app.subSettings;
- return buildURL({ host, port, isTLS, base, path: subID+'?name='+subID });
+ return buildURL({ host, port, isTLS, base, path: subID+'?name='+remark });
}
};