MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / stopPwnLogStreaming

Function stopPwnLogStreaming

web/scripts/ragnar_modern.js:6570–6577  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6568 }).join('');
6569}
6570async function watchtowerRefresh() {
6571 const sev = (document.getElementById('watchtower-minsev') || {}).value || '';
6572 const q = '/api/net/watchtower?limit=100' + (sev ? '&min_severity=' + encodeURIComponent(sev) : '');
6573 try { renderWatchtower(await fetchAPI(q)); } catch (e) { /* offline — leave as-is */ }
6574 refreshIncidents('watchtower-incidents');
6575}
6576async function syncWatchtowerFromServer() {
6577 const cb = document.getElementById('watchtower-enabled');
6578 try {
6579 const d = await fetchAPI('/api/net/watchtower?limit=100&min_severity=high');
6580 if (cb) cb.checked = !!d.enabled;

Callers 2

schedulePwnLogStopFunction · 0.70
handlePwnInstallClickFunction · 0.70

Calls 1

setPwnLogIndicatorFunction · 0.70

Tested by

no test coverage detected