feat: rebrand WinningHunter as AdSeeQ

This commit is contained in:
2026-08-10 16:47:29 +03:00
parent 5046d00817
commit 0db82654ba
17 changed files with 87 additions and 22 deletions
+3 -3
View File
@@ -3,12 +3,12 @@ set -eu
app_url="${NEXT_PUBLIC_APP_URL:?NEXT_PUBLIC_APP_URL is required}"
if curl --fail --silent --show-error --max-time 10 "${app_url%/}/api/health" >/dev/null; then
echo "WinningHunter healthcheck OK"
echo "AdSeeQ healthcheck OK"
exit 0
fi
if [ -n "${ALERT_WEBHOOK_URL:-}" ]; then
curl --fail --silent --show-error --max-time 10 -X POST -H 'content-type: application/json' --data '{"text":"WinningHunter healthcheck failed"}' "$ALERT_WEBHOOK_URL" >/dev/null || true
curl --fail --silent --show-error --max-time 10 -X POST -H 'content-type: application/json' --data '{"text":"AdSeeQ healthcheck failed"}' "$ALERT_WEBHOOK_URL" >/dev/null || true
fi
echo "WinningHunter healthcheck FAILED" >&2
echo "AdSeeQ healthcheck FAILED" >&2
exit 1