diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-07-18 01:24:26 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-07-18 01:24:26 +0300 |
| commit | 81a057d63876df5ba69260ac6b97aeeb7964c87d (patch) | |
| tree | 46477fed8f4ecb32c66a9bfe173f7ae5a98f53f3 | |
| parent | 64d17bee70cadd99e1853bfed6a55877ed84f73c (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.html | 5 |
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; |
