|
@@ -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}"
|