From 5260ea91ac1d24a5f9f6fe4cbf0ba10a5cbd157c Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Sat, 16 Nov 2024 16:51:15 +0100 Subject: [PATCH] Enable reality for splithttp --- web/assets/js/model/outbound.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js index 3650ef6f..e1e8f876 100644 --- a/web/assets/js/model/outbound.js +++ b/web/assets/js/model/outbound.js @@ -532,7 +532,7 @@ class Outbound extends CommonClass { canEnableTls() { if (![Protocols.VMess, Protocols.VLESS, Protocols.Trojan, Protocols.Shadowsocks].includes(this.protocol)) return false; - return ["tcp", "ws", "http", "grpc", "httpupgrade" , "splithttp"].includes(this.stream.network); + return ["tcp", "ws", "http", "grpc", "httpupgrade", "splithttp"].includes(this.stream.network); } //this is used for xtls-rprx-vision @@ -545,7 +545,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() {