Skip to content

Commit

Permalink
set flow to none when we change TCP thanks to @sudospaes
Browse files Browse the repository at this point in the history
when we change transmission type from TCP to others

Co-Authored-By: SudoSpace <[email protected]>
  • Loading branch information
MHSanaei and sudospaes committed Jul 17, 2023
1 parent 64d17be commit 81a057d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions web/html/xui/inbound_modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 81a057d

Please sign in to comment.