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:
authorxujie86 <167618598+xujie86@users.noreply.github.com>2025-07-22 13:53:12 +0300
committerGitHub <noreply@github.com>2025-07-22 13:53:12 +0300
commit75416eebd794e6fc4bd5dd25730be5c2f51e50f0 (patch)
tree2ae1abe3218ecf2530409d5a58dd6b53b3e22e70 /install.sh
parent87042d77bab3bb22a8d1a08cc669c218c6c8f411 (diff)
Increase the number of characters for webBasePath (#3239)
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 30a0f688..85b34c3d 100644
--- a/install.sh
+++ b/install.sh
@@ -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}"