Increase the number of characters for webBasePath (#3239)

This commit is contained in:
xujie86 authored and GitHub committed 2025-07-22 12:53:12 +02:00
1 parent 87042d77ba
commit 75416eebd7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@ config_after_install() {
echo -e "${green}Access URL: http://${server_ip}:${config_port}/${config_webBasePath}${plain}"
echo -e "###############################################"
else
local config_webBasePath=$(gen_random_string 15)
local config_webBasePath=$(gen_random_string 18)
echo -e "${yellow}WebBasePath is missing or too short. Generating a new one...${plain}"
/usr/local/x-ui/x-ui setting -webBasePath "${config_webBasePath}"
echo -e "${green}New WebBasePath: ${config_webBasePath}${plain}"