From efc3812e12c338023511777bec1fd8333d46192a Mon Sep 17 00:00:00 2001 From: Denozordec Date: Tue, 12 May 2026 22:46:16 +0700 Subject: [PATCH] =?UTF-8?q?fix(updater):=20=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2?= =?UTF-8?q?=D0=B8=D1=82=D1=8C=20URL=20=D0=B4=D0=BB=D1=8F=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B8=20=D1=81=D0=BE=D1=81=D1=82?= =?UTF-8?q?=D0=BE=D1=8F=D0=BD=D0=B8=D1=8F=20=D1=81=D0=B5=D1=80=D0=B2=D0=B8?= =?UTF-8?q?=D1=81=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/updater/entrypoint.sh | 2 +- deploy/updater/targets.json.example | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/updater/entrypoint.sh b/deploy/updater/entrypoint.sh index fe45e39..071d17e 100644 --- a/deploy/updater/entrypoint.sh +++ b/deploy/updater/entrypoint.sh @@ -321,7 +321,7 @@ wait_for_health() { while (( SECONDS < deadline )); do if [[ "$health_type" == "http" ]]; then local status - status="$(curl --silent --output /dev/null --write-out '%{http_code}' --max-time 5 "$health_url" || true)" + status="$(curl --silent --location --output /dev/null --write-out '%{http_code}' --max-time 5 "$health_url" || true)" last_status="$status" if [[ "$status" == "$expect_status" ]]; then log info "target=${target_id} action=health_ok status=${status}" diff --git a/deploy/updater/targets.json.example b/deploy/updater/targets.json.example index bc630d0..420a211 100644 --- a/deploy/updater/targets.json.example +++ b/deploy/updater/targets.json.example @@ -16,7 +16,7 @@ "image": "git.shts.su/denozord/mikrotikmanager-frontend:latest", "health": { "type": "http", - "url": "http://frontend:3000/", + "url": "http://frontend:3000/dashboard", "expect_status": 200 } }