diff --git a/config/version b/config/version index 7f04bb11..adaf203a 100644 --- a/config/version +++ b/config/version @@ -1 +1 @@ -2.8.5 \ No newline at end of file +2.8.6 \ No newline at end of file diff --git a/web/html/modals/inbound_modal.html b/web/html/modals/inbound_modal.html index 3c844381..d29efaf6 100644 --- a/web/html/modals/inbound_modal.html +++ b/web/html/modals/inbound_modal.html @@ -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()) {