diff --git a/install.sh b/install.sh index 916adb908a..375adc9d8f 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 2a57559508..6d7880902c 100644 --- a/web/html/xui/form/stream/stream_settings.html +++ b/web/html/xui/form/stream/stream_settings.html @@ -7,7 +7,7 @@ TCP (RAW) mKCP WebSocket - H2 + HTTP gRPC HTTPUpgrade SplitHTTP