Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-07-18 01:24:26 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-07-18 01:24:26 +0300
commit81a057d63876df5ba69260ac6b97aeeb7964c87d (patch)
tree46477fed8f4ecb32c66a9bfe173f7ae5a98f53f3
parent64d17bee70cadd99e1853bfed6a55877ed84f73c (diff)
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>
-rw-r--r--web/html/xui/inbound_modal.html5
1 files changed, 5 insertions, 0 deletions
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;