Update x-ui.sh

This commit is contained in:
xujie86 2025-07-16 22:26:29 +08:00 committed by GitHub
parent 011e0f309a
commit 553374db3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -214,7 +214,7 @@ reset_webbasepath() {
return return
fi fi
config_webBasePath=$(gen_random_string 10) config_webBasePath=$(gen_random_string 18)
# Apply the new web base path setting # Apply the new web base path setting
/usr/local/x-ui/x-ui setting -webBasePath "${config_webBasePath}" >/dev/null 2>&1 /usr/local/x-ui/x-ui setting -webBasePath "${config_webBasePath}" >/dev/null 2>&1