From ff8c4b44a8f852b376bc5598f92aedb3a49b34c2 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sat, 26 Aug 2023 21:06:23 +0330 Subject: v1.7.7 --- web/assets/js/model/xray.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'web') 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, }; } }; -- cgit v1.2.3