From cc2c9fbdba20c97b1124f83bfa433d55b9388c00 Mon Sep 17 00:00:00 2001 From: Vladless Date: Sat, 18 Apr 2026 11:50:33 +0000 Subject: [PATCH] Fix update-check default GHCR image --- api/v2/routes/root.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v2/routes/root.py b/api/v2/routes/root.py index f20ba254..2326fe41 100644 --- a/api/v2/routes/root.py +++ b/api/v2/routes/root.py @@ -272,7 +272,7 @@ def _latest_for_channel(tags: list[str], dev: bool) -> str | None: async def update_check(current: str | None = Query(default=None)): """Сравнивает переданную версию с последним тегом в GHCR. Канал (dev/release) определяется по current.""" current_v = (current or "").strip() - image = (os.environ.get("GHCR_IMAGE") or "").strip() + image = (os.environ.get("GHCR_IMAGE") or "vladless/solo-brick").strip() if not image: return {"current": current_v or None, "latest": None, "hasUpdate": False}