From aeb4f80416fa28787e1aa6f1f4278eb199e57d3f Mon Sep 17 00:00:00 2001 From: Sven Jorns Date: Thu, 22 Jun 2023 23:29:02 +0300 Subject: [PATCH] BASE_URL --- build1stTime.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build1stTime.sh b/build1stTime.sh index 3e68b53..093e52c 100755 --- a/build1stTime.sh +++ b/build1stTime.sh @@ -29,6 +29,8 @@ BASE_PROTOCOL=${BASE_PROTOCOL:-"http"} read -e -r -i "$BASE_PROTOCOL" -p "Enter your server protocol (http/https): " BASE_PROTOCOL GITBRANCHNAME="master" read -e -r -i "$GITBRANCHNAME" -p "Enter your git branch name: " GITBRANCHNAME +BASE_URL=${BASE_URL:-"${BASE_PROTOCOL}://${BASE_DOMAIN}:${SWSPORT}"} +read -e -r -i "$BASE_URL" -p "Enter your base url: " BASE_URL cat << EOF >.env GITUSER="$GITUSER"