fix cache and restart

This commit is contained in:
larssand
2026-06-30 12:33:44 +02:00
parent f95a861eb6
commit de4e77d524
4 changed files with 5 additions and 1 deletions

View File

@@ -261,6 +261,7 @@ async function refresh() {
document.getElementById('liveStatus').innerHTML = [
data.stale ? `<span class="sev-high">Showing cached dashboard data because live MCP fetch failed.</span>` : '',
cache.stored_at ? `Cached snapshot: ${esc(new Date(cache.stored_at * 1000).toLocaleString())}` : '',
`Status schema: ${esc(data.status_schema || 'old')}`,
`Log file: <code>${esc(data.log_path || '')}</code>`,
`Policy file: <code>${esc(data.policy_path || 'none')}</code>`,
`Critical anomalies: ${esc((a.critical || 0))}`,