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-04 17:34:50 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-10-04 17:34:50 +0300
commit19a832cad8d91efad551d819afd8cd50e54b5e83 (patch)
tree0e2c9548b932fae843ea1196f5b146046fc36cb9
parentf0dd6152fdcb9a58dbc37f1581dd083e72b420a8 (diff)
change name H2 to HTTP
because we also have h3 on it
-rw-r--r--install.sh2
-rw-r--r--web/html/xui/form/stream/stream_settings.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index 916adb90..375adc9d 100644
--- a/install.sh
+++ b/install.sh
@@ -186,7 +186,7 @@ config_after_install() {
local existing_webBasePath=$(/usr/local/x-ui/x-ui setting -show true | grep -Eo 'webBasePath: .+' | awk '{print $2}')
- if [[ ${#existing_webBasePath} -lt 3 ]]; then
+ if [[ ${#existing_webBasePath} -lt 4 ]]; then
echo -e "${yellow}WebBasePath is empty, generating a random one...${plain}"
/usr/local/x-ui/x-ui setting -webBasePath "${config_webBasePath}"
diff --git a/web/html/xui/form/stream/stream_settings.html b/web/html/xui/form/stream/stream_settings.html
index 2a575595..6d788090 100644
--- a/web/html/xui/form/stream/stream_settings.html
+++ b/web/html/xui/form/stream/stream_settings.html
@@ -7,7 +7,7 @@
<a-select-option value="tcp">TCP (RAW)</a-select-option>
<a-select-option value="kcp">mKCP</a-select-option>
<a-select-option value="ws">WebSocket</a-select-option>
- <a-select-option value="http">H2</a-select-option>
+ <a-select-option value="http">HTTP</a-select-option>
<a-select-option value="grpc">gRPC</a-select-option>
<a-select-option value="httpupgrade">HTTPUpgrade</a-select-option>
<a-select-option value="splithttp">SplitHTTP</a-select-option>