Clean legacy vmess

Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
This commit is contained in:
MHSanaei 2023-08-26 16:58:55 +03:30
parent 1c1f53267a
commit 731e83a7da
7 changed files with 1 additions and 12 deletions

View file

@ -1740,8 +1740,7 @@ Inbound.Settings = class extends XrayCommonClass {
Inbound.VmessSettings = class extends Inbound.Settings { Inbound.VmessSettings = class extends Inbound.Settings {
constructor(protocol, constructor(protocol,
vmesses=[new Inbound.VmessSettings.Vmess()], vmesses=[new Inbound.VmessSettings.Vmess()]) {
disableInsecureEncryption=false) {
super(protocol); super(protocol);
this.vmesses = vmesses; this.vmesses = vmesses;
this.disableInsecure = disableInsecureEncryption; this.disableInsecure = disableInsecureEncryption;

View file

@ -108,9 +108,4 @@
</a-collapse-panel> </a-collapse-panel>
</a-collapse> </a-collapse>
</a-form> </a-form>
<a-form layout="inline">
<a-form-item label='{{ i18n "pages.inbounds.disableInsecureEncryption" }}'>
<a-switch v-model.number="inbound.settings.disableInsecure"></a-switch>
</a-form-item>
</a-form>
{{end}} {{end}}

View file

@ -127,7 +127,6 @@
"network" = "Network" "network" = "Network"
"destinationPort" = "Destination Port" "destinationPort" = "Destination Port"
"targetAddress" = "Target Address" "targetAddress" = "Target Address"
"disableInsecureEncryption" = "Disable Insecure Encryption"
"monitorDesc" = "Leave blank by default" "monitorDesc" = "Leave blank by default"
"meansNoLimit" = "Means No Limit" "meansNoLimit" = "Means No Limit"
"totalFlow" = "Total Flow" "totalFlow" = "Total Flow"

View file

@ -127,7 +127,6 @@
"network" = "شبکه" "network" = "شبکه"
"destinationPort" = "پورت مقصد" "destinationPort" = "پورت مقصد"
"targetAddress" = "آدرس مقصد" "targetAddress" = "آدرس مقصد"
"disableInsecureEncryption" = "رمزگذاری ناامن را غیرفعال کنید"
"monitorDesc" = "به طور پیش فرض خالی بگذارید" "monitorDesc" = "به طور پیش فرض خالی بگذارید"
"meansNoLimit" = "یعنی بدون محدودیت" "meansNoLimit" = "یعنی بدون محدودیت"
"totalFlow" = "کل ترافیک" "totalFlow" = "کل ترافیک"

View file

@ -127,7 +127,6 @@
"network" = "Сеть" "network" = "Сеть"
"destinationPort" = "Порт назначения" "destinationPort" = "Порт назначения"
"targetAddress" = "Целевой адрес" "targetAddress" = "Целевой адрес"
"disableInsecureEncryption" = "Отключить небезопасное шифрование"
"monitorDesc" = "Оставьте пустым по умолчанию" "monitorDesc" = "Оставьте пустым по умолчанию"
"meansNoLimit" = "Значит без ограничений" "meansNoLimit" = "Значит без ограничений"
"totalFlow" = "Общий расход" "totalFlow" = "Общий расход"

View file

@ -127,7 +127,6 @@
"network" = "Mạng" "network" = "Mạng"
"destinationPort" = "Cổng đích" "destinationPort" = "Cổng đích"
"targetAddress" = "Địa chỉ mục tiêu" "targetAddress" = "Địa chỉ mục tiêu"
"disableInsecureEncryption" = "Vô hiệu hóa mã hóa không an toàn"
"monitorDesc" = "Mặc định để trống" "monitorDesc" = "Mặc định để trống"
"meansNoLimit" = "Nghĩa là không giới hạn" "meansNoLimit" = "Nghĩa là không giới hạn"
"totalFlow" = "Tổng lưu lượng" "totalFlow" = "Tổng lưu lượng"

View file

@ -127,7 +127,6 @@
"network" = "网络" "network" = "网络"
"destinationPort" = "目标端口" "destinationPort" = "目标端口"
"targetAddress" = "目标地址" "targetAddress" = "目标地址"
"disableInsecureEncryption" = "禁用不安全加密"
"monitorDesc" = "默认留空即可" "monitorDesc" = "默认留空即可"
"meansNoLimit" = "表示不限制" "meansNoLimit" = "表示不限制"
"totalFlow" = "总流量" "totalFlow" = "总流量"