diff --git a/deploy/deploy.sh b/deploy/deploy.sh index 470365a..93bc0c9 100755 --- a/deploy/deploy.sh +++ b/deploy/deploy.sh @@ -23,7 +23,7 @@ sudo systemctl restart sum-nohype echo "==> Waiting for health check" for i in $(seq 1 30); do - if curl -fsS http://localhost:8001/ >/dev/null 2>&1; then + if curl -fsS -H "Host: nohypeai.net" http://localhost:8001/ >/dev/null 2>&1; then echo "==> Site is up" exit 0 fi