From 19a832cad8d91efad551d819afd8cd50e54b5e83 Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Fri, 4 Oct 2024 16:34:50 +0200 Subject: change name H2 to HTTP because we also have h3 on it --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install.sh') 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}" -- cgit v1.2.3