fix cache and restart
This commit is contained in:
@@ -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))}`,
|
||||
|
||||
Reference in New Issue
Block a user