🔧 Add fallback to localhost for undefined deployment targets
This commit is contained in:
@@ -326,8 +326,10 @@ verify_deployment() {
|
||||
# Determine host based on target
|
||||
if [ "$TARGET" = "internal" ]; then
|
||||
HOST="10.0.0.81"
|
||||
else
|
||||
elif [ "$TARGET" = "external" ]; then
|
||||
HOST="home.gregrjacobs.com"
|
||||
else
|
||||
HOST="localhost"
|
||||
fi
|
||||
|
||||
log_info "Checking frontend health..."
|
||||
@@ -358,8 +360,10 @@ print_summary() {
|
||||
# Determine host based on target
|
||||
if [ "$TARGET" = "internal" ]; then
|
||||
HOST="10.0.0.81"
|
||||
else
|
||||
elif [ "$TARGET" = "external" ]; then
|
||||
HOST="home.gregrjacobs.com"
|
||||
else
|
||||
HOST="localhost"
|
||||
fi
|
||||
|
||||
echo -e "${GREEN}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
|
||||
|
||||
Reference in New Issue
Block a user