Remove legacy repo hash endpoint and update clients

This commit is contained in:
2025-10-08 22:01:06 -06:00
parent e268bc2f5a
commit 53cb3f41c5
2 changed files with 1 additions and 39 deletions

View File

@@ -160,7 +160,7 @@ export default function DeviceList({ onSelectDevice }) {
if (force) {
params.set("refresh", "1");
}
const resp = await fetch(`/api/agent/repo_hash?${params.toString()}`);
const resp = await fetch(`/api/repo/current_hash?${params.toString()}`);
const json = await resp.json();
const sha = (json?.sha || "").trim();
if (!resp.ok || !sha) {