diff --git a/web/html/xui/inbound_modal.html b/web/html/xui/inbound_modal.html
index dd1595c5..94f73169 100644
--- a/web/html/xui/inbound_modal.html
+++ b/web/html/xui/inbound_modal.html
@@ -99,6 +99,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 = "";
+ });
+ }
},
SSMethodChange() {
if (this.inModal.inbound.isSSMultiUser) {
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html
index 7faec55f..b172940d 100644
--- a/web/html/xui/inbounds.html
+++ b/web/html/xui/inbounds.html
@@ -624,7 +624,7 @@
port: RandomUtil.randomIntRange(10000, 60000),
protocol: baseInbound.protocol,
settings: Inbound.Settings.getSettings(baseInbound.protocol).toString(),
- streamSettings: baseInbound.stream.toString(),
+ streamSettings: baseInbound.stream.toString(),
sniffing: baseInbound.canSniffing() ? baseInbound.sniffing.toString() : '{}',
};
await this.submit('/xui/inbound/add', data, inModal);
@@ -997,4 +997,4 @@
{{template "clientsModal"}}
{{template "clientsBulkModal"}}