fix: switch monitor root via sentinel yaml

This commit is contained in:
Codex
2026-06-28 03:28:10 +00:00
parent f371008af9
commit e4b9446ca9
8 changed files with 173 additions and 25 deletions
@@ -159,7 +159,7 @@ createApp({
function currentHref(item) {
if (!item || item.id === bootstrap.sentinelId) return bootstrap.basePath || "/";
if (item.id === "workbench-dsflash-go-tool-call-10x") return "/";
if (item.monitorRoot === true) return "/";
return `/sentinels/${encodeURIComponent(item.id)}/`;
}