diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/inbound.js
similarity index 99%
rename from web/assets/js/model/xray.js
rename to web/assets/js/model/inbound.js
index b7d68dd8..ea6f56fa 100644
--- a/web/assets/js/model/xray.js
+++ b/web/assets/js/model/inbound.js
@@ -1259,7 +1259,7 @@ class Inbound extends XrayCommonClass {
canEnableReality() {
if (![Protocols.VLESS, Protocols.TROJAN].includes(this.protocol)) return false;
- return ["tcp", "http", "grpc"].includes(this.network);
+ return ["tcp", "http", "grpc", "splithttp"].includes(this.network);
}
canEnableStream() {
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index 870f555f..d7338645 100644
--- a/web/assets/js/model/outbound.js
+++ b/web/assets/js/model/outbound.js
@@ -602,7 +602,7 @@ class Outbound extends CommonClass {
canEnableReality() {
if (![Protocols.VLESS, Protocols.Trojan].includes(this.protocol)) return false;
- return ["tcp", "http", "grpc"].includes(this.stream.network);
+ return ["tcp", "http", "grpc", "splithttp"].includes(this.stream.network);
}
canEnableStream() {
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html
index 32bc431f..a5a4c940 100644
--- a/web/html/xui/inbounds.html
+++ b/web/html/xui/inbounds.html
@@ -548,7 +548,7 @@
-
+
{{template "component/themeSwitcher" .}}
{{template "component/persianDatepicker" .}}