Update Install.sh

This commit is contained in:
TinrLin 2023-08-31 17:34:24 +08:00 committed by GitHub
parent a46cf29387
commit 60cd91fb23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -744,9 +744,9 @@ function generate_private_key_config() {
function generate_server_name() {
while true; do
read -p "请输入可用的 serverName 列表 (默认为 www.gov.hk): " user_input
read -p "请输入可用的 serverName 列表 (默认为 nijigen-works.jp): " user_input
if [[ -z "$user_input" ]]; then
server_name="www.gov.hk"
server_name="nijigen-works.jp"
break
else
server_name="$user_input"
@ -773,10 +773,10 @@ function generate_server_name() {
function generate_target_server() {
while true; do
read -p "请输入目标网站地址(默认为 www.gov.hk): " user_input
read -p "请输入目标网站地址(默认为 nijigen-works.jp): " user_input
if [[ -z "$user_input" ]]; then
target_server="www.gov.hk"
target_server="nijigen-works.jp"
break
else
target_server="$user_input"