mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-23 14:52:43 +00:00
chore: bump version to 2.8.6 and add watcher for security changes in inbound modal
This commit is contained in:
parent
8ed2119004
commit
d56139acd3
2 changed files with 11 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
2.8.5
|
||||
2.8.6
|
||||
|
|
@ -87,6 +87,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
'inModal.inbound.stream.security'(newVal, oldVal) {
|
||||
// Clear flow when security changes from reality/tls to none
|
||||
if (inModal.inbound.protocol == Protocols.VLESS && !inModal.inbound.canEnableTlsFlow()) {
|
||||
inModal.inbound.settings.vlesses.forEach(client => {
|
||||
client.flow = "";
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
streamNetworkChange() {
|
||||
if (!inModal.inbound.canEnableTls()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue