diff --git a/public/index.html b/public/index.html index 89ee050..e86d086 100644 --- a/public/index.html +++ b/public/index.html @@ -180,7 +180,7 @@ async function loadLogs(page){ function renderLogs(){ const reqs=DATA.requests||[]; const nodes=(DATA.nodes||[]).map(n=>n.name).sort(); - const ups=[...new Set(reqs.map(r=>r.upstream))].sort(); + const ups=[...new Set((DATA.nodes||[]).flatMap(n=>JSON.parse(n.providers||'[]').map(p=>p.name)))].sort(); const fN=$('#fNode'),fU=$('#fUp'); const nv=fN.value,uv=fU.value; fN.innerHTML=''+nodes.map(n=>`${n}`).join('');