diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-08-26 20:36:23 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-08-26 20:59:11 +0300 |
| commit | ff8c4b44a8f852b376bc5598f92aedb3a49b34c2 (patch) | |
| tree | a626349e6c0f52efca9bbf85f94d27352f1e71c2 /web/assets | |
| parent | f3280b46fea0933be174acb0ea58c308337836da (diff) | |
v1.7.7v1.7.7
Diffstat (limited to 'web/assets')
| -rw-r--r-- | web/assets/js/model/xray.js | 3 |
1 files changed, 0 insertions, 3 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, }; } }; |
