diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js index b437b10f..0928233b 100644 --- a/web/assets/js/model/inbound.js +++ b/web/assets/js/model/inbound.js @@ -633,7 +633,7 @@ TlsStreamSettings.Cert = class extends XrayCommonClass { keyFile = '', certificate = '', key = '', - ocspStapling = 3600, + ocspStapling = 0, oneTimeLoading = false, usage = USAGE_OPTION.ENCIPHERMENT, buildChain = false, diff --git a/x-ui.sh b/x-ui.sh index aa0dc171..3f459ca9 100644 --- a/x-ui.sh +++ b/x-ui.sh @@ -276,7 +276,7 @@ reset_webbasepath() { read -rp "请设置新的访问路径(若回车默认或输入y则为随机路径): " config_webBasePath if [[ $config_webBasePath == "y" ]]; then - config_webBasePath=$(gen_random_string 10) + config_webBasePath=$(gen_random_string 18) fi # Apply the new web base path setting