Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/assets')
-rw-r--r--web/assets/js/model/inbound.js (renamed from web/assets/js/model/xray.js)2
-rw-r--r--web/assets/js/model/outbound.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/assets/js/model/xray.js b/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() {