From 81a057d63876df5ba69260ac6b97aeeb7964c87d Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Tue, 18 Jul 2023 01:54:26 +0330 Subject: [PATCH] set flow to none when we change TCP thanks to @sudospaes when we change transmission type from TCP to others Co-Authored-By: SudoSpace <79229394+sudospaes@users.noreply.github.com> --- 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 11e6020c..60244be4 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;