diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-10-30 16:40:41 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-10-30 16:46:27 +0300 |
| commit | 19a31686da26c0c8a8f0ee255d3b0728524bb95f (patch) | |
| tree | 89cb854958e838f3e41ea2ff4de8823585eaab7b /web/assets | |
| parent | 13f7e071285f57327c8c741d5c691ddf2a9f9621 (diff) | |
REALITY: SplitHTTP transport
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.js | 2 |
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() { |
