f
This commit is contained in:
parent
e6b201784f
commit
2818b62056
2
auto.sh
2
auto.sh
@ -32,7 +32,7 @@ read -p "您希望使用的安装目录(默认为/opt/url-shortener): " InstallD
|
||||
while true; do
|
||||
read -p "您的域名(示例: https://u.mei.lv ): " DomainName
|
||||
if [ -z "$DomainName" ]; then
|
||||
echo -e "\e[31mDocker域名不能为空,请重新输入\033[0m"
|
||||
echo -e "\e[31m域名不能为空,请重新输入\033[0m"
|
||||
continue
|
||||
fi
|
||||
if [[ ! $DomainName =~ ^https?://[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}(/.*)?$ ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user