diff options
Diffstat (limited to 'web')
| -rw-r--r-- | web/assets/js/model/xray.js | 3 | ||||
| -rw-r--r-- | web/html/common/qrcode_modal.html | 2 | ||||
| -rw-r--r-- | web/html/xui/inbound_info_modal.html | 2 |
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 }); } }; |
