commit
d57ffc47d4
@ -633,7 +633,7 @@ TlsStreamSettings.Cert = class extends XrayCommonClass {
|
|||||||
keyFile = '',
|
keyFile = '',
|
||||||
certificate = '',
|
certificate = '',
|
||||||
key = '',
|
key = '',
|
||||||
ocspStapling = 3600,
|
ocspStapling = 0,
|
||||||
oneTimeLoading = false,
|
oneTimeLoading = false,
|
||||||
usage = USAGE_OPTION.ENCIPHERMENT,
|
usage = USAGE_OPTION.ENCIPHERMENT,
|
||||||
buildChain = false,
|
buildChain = false,
|
||||||
|
|||||||
2
x-ui.sh
2
x-ui.sh
@ -276,7 +276,7 @@ reset_webbasepath() {
|
|||||||
read -rp "请设置新的访问路径(若回车默认或输入y则为随机路径): " config_webBasePath
|
read -rp "请设置新的访问路径(若回车默认或输入y则为随机路径): " config_webBasePath
|
||||||
|
|
||||||
if [[ $config_webBasePath == "y" ]]; then
|
if [[ $config_webBasePath == "y" ]]; then
|
||||||
config_webBasePath=$(gen_random_string 10)
|
config_webBasePath=$(gen_random_string 18)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Apply the new web base path setting
|
# Apply the new web base path setting
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user