Skip to content

Commit

Permalink
Update the domain check string (#4550)
Browse files Browse the repository at this point in the history
Signed-off-by: Olga Bulat <[email protected]>
  • Loading branch information
obulat authored Jun 26, 2024
1 parent 049e7f8 commit 5470a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup_plausible.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RES=$(curl \
-F 'timezone="UTC"' \
"$local_plausible/api/v1/sites")

if [[ $RES == *"\"error\":\"domain This domain has already been taken"* ]]; then
if [[ $RES == *"This domain cannot be registered. Perhaps one of your colleagues registered it"* ]]; then
echo "Domain already exists."
elif [[ $RES == *"\"domain\":\"localhost\""* ]]; then
echo "Domain created."
Expand Down

0 comments on commit 5470a70

Please sign in to comment.