Better bug fix

bug fix, can't connect after change transmission type from tcp to other types.
This commit is contained in:
SudoSpace
2023-07-09 14:36:42 +03:30
committed by GitHub
parent 9798bf5552
commit 65a69e967d

View File

@@ -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;