Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Update the domain check string (#4550)
Olga Bulat5470a7095647
diff --git a/setup_plausible.sh b/setup_plausible.shindex f8308a19e..50e80e3cc 100755--- a/setup_plausible.sh+++ b/setup_plausible.sh@@ -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"* ]]; thenecho "Domain already exists."elif [[ $RES == *"\"domain\":\"localhost\""* ]]; thenecho "Domain created."