mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-18 21:24:41 +03: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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user