From 65a69e967d090d997aeaee9b73e8d7cff550de17 Mon Sep 17 00:00:00 2001 From: SudoSpace <79229394+sudospaes@users.noreply.github.com> Date: Sun, 9 Jul 2023 14:36:42 +0330 Subject: [PATCH] Better bug fix bug fix, can't connect after change transmission type from tcp to other types. --- web/html/xui/inbound_modal.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/html/xui/inbound_modal.html b/web/html/xui/inbound_modal.html index 76feeea2..20b28554 100644 --- a/web/html/xui/inbound_modal.html +++ b/web/html/xui/inbound_modal.html @@ -111,6 +111,11 @@ if (!inModal.inbound.canEnableReality()) { this.inModal.inbound.reality = false; } + if (this.inModal.inbound.protocol == Protocols.VLESS && !inModal.inbound.canEnableTlsFlow()) { + this.inModal.inbound.settings.vlesses.forEach(client => { + client.flow = ""; + }); + } }, setDefaultCertData(index){ inModal.inbound.stream.tls.certs[index].certFile = app.defaultCert;