mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-10-27 05:21:57 -06:00
Remove legacy repo hash endpoint and update clients
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user