From 781a4c98871b5f974ef2083bc700670a195e9b98 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Thu, 21 Dec 2023 14:17:32 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E9=80=9A=E9=85=8D=E7=AC=A6=E8=AF=81=E4=B9=A6?= =?UTF-8?q?=E7=9A=84=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index 5ddc0c99..df54d830 100644 --- a/install.sh +++ b/install.sh @@ -1482,6 +1482,10 @@ initDNSAPIConfig() { initDNSAPIConfig "$1" else echo + if ! echo "${dnsTLSDomain}" | grep -q "."; then + echoContent green " ---> 不支持此域名申请通配符证书,建议使用此格式[xx.xx.xx]" + exit 0 + fi read -r -p "是否使用*.${dnsTLSDomain}进行API申请通配符证书?[y/n]:" dnsAPIStatus if [[ "${dnsAPIStatus}" != "y" ]]; then exit 0