Skip to content

Commit

Permalink
How did I not catch this for 2 weeks
Browse files Browse the repository at this point in the history
  • Loading branch information
ubergeek77 committed Jul 9, 2023
1 parent 497e406 commit 61827fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -985,12 +985,12 @@ load_env

# Yell at the user if they didn't follow instructions, again
if [[ -z "$LEMMY_HOSTNAME" ]] || [[ "$LEMMY_HOSTNAME" == "example.com" ]]; then
echo >&2 "ERROR: You did not set your hostname in hostname.env! Do it like this:"
echo >&2 "ERROR: You did not set your hostname in config.env! Do it like this:"
echo >&2 "LEMMY_HOSTNAME=example.com"
exit 1
fi
if [[ $LEMMY_HOSTNAME =~ ^https?: ]]; then
echo >&2 "ERROR: Don't put http/https in hostname.env! Do it like this:"
echo >&2 "ERROR: Don't put http/https in config.env! Do it like this:"
echo >&2 "LEMMY_HOSTNAME=example.com"
exit 1
fi
Expand Down

0 comments on commit 61827fd

Please sign in to comment.