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:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-10-30 16:40:41 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-10-30 16:46:27 +0300
commit19a31686da26c0c8a8f0ee255d3b0728524bb95f (patch)
tree89cb854958e838f3e41ea2ff4de8823585eaab7b
parent13f7e071285f57327c8c741d5c691ddf2a9f9621 (diff)
REALITY: SplitHTTP transport
-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
-rw-r--r--web/html/xui/inbounds.html2
3 files changed, 3 insertions, 3 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() {
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 @@
<script src="{{ .base_path }}assets/qrcode/qrious2.min.js?{{ .cur_ver }}"></script>
<script src="{{ .base_path }}assets/clipboard/clipboard.min.js?{{ .cur_ver }}"></script>
<script src="{{ .base_path }}assets/uri/URI.min.js?{{ .cur_ver }}"></script>
-<script src="{{ .base_path }}assets/js/model/xray.js?{{ .cur_ver }}"></script>
+<script src="{{ .base_path }}assets/js/model/inbound.js?{{ .cur_ver }}"></script>
<script src="{{ .base_path }}assets/js/model/dbinbound.js?{{ .cur_ver }}"></script>
{{template "component/themeSwitcher" .}}
{{template "component/persianDatepicker" .}}