Skip to content

Commit

Permalink
spaces are good
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdada committed Jul 31, 2024
1 parent ec93cea commit eec3f0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ echo "Configuring sites..."
SITES=()

# Get the number of sites
SITE_COUNT=$(gum input --prompt "How many sites would you like to monitor?" --placeholder "Enter number")
SITE_COUNT=$(gum input --prompt "How many sites would you like to monitor? " --placeholder "Enter number")
SITE_COUNT=${SITE_COUNT:-1}

for i in $(seq 1 "$SITE_COUNT"); do
NAME=$(gum input --prompt "Enter name for site $i" --placeholder "Site name")
URL=$(gum input --prompt "Enter URL for site $i" --placeholder "Site URL")
NAME=$(gum input --prompt "Enter name for site $i " --placeholder "Site name")
URL=$(gum input --prompt "Enter URL for site $i " --placeholder "Site URL")
SITES+=("{\"name\": \"$NAME\", \"url\": \"$URL\"}")
done

Expand Down
Binary file modified status.db
Binary file not shown.

0 comments on commit eec3f0e

Please sign in to comment.