mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 21:42:24 +00:00
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>
This commit is contained in:
parent
64d17bee70
commit
81a057d638
1 changed files with 5 additions and 0 deletions
|
@ -111,6 +111,11 @@
|
||||||
if (!inModal.inbound.canEnableReality()) {
|
if (!inModal.inbound.canEnableReality()) {
|
||||||
this.inModal.inbound.reality = false;
|
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) {
|
setDefaultCertData(index) {
|
||||||
inModal.inbound.stream.tls.certs[index].certFile = app.defaultCert;
|
inModal.inbound.stream.tls.certs[index].certFile = app.defaultCert;
|
||||||
|
|
Loading…
Reference in a new issue