修复IP地址泄露的问题2
This commit is contained in:
@@ -410,8 +410,7 @@
|
|||||||
<span class="status-dot ${server.up ? 'status-dot-online' : 'status-dot-offline'}"></span>
|
<span class="status-dot ${server.up ? 'status-dot-online' : 'status-dot-offline'}"></span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div style="color: var(--text-primary); font-weight: 600; font-family: var(--font-sans); line-height: 1.2;">${escapeHtml(server.job)}</div>
|
<div style="color: var(--text-primary); font-weight: 600; font-family: var(--font-sans);">${escapeHtml(server.job)}</div>
|
||||||
<div style="color: var(--text-muted); font-size: 0.7rem; font-family: var(--font-mono); font-weight: 400; margin-top: 2px;">${escapeHtml(server.originalInstance)}</div>
|
|
||||||
</td>
|
</td>
|
||||||
<td>${escapeHtml(server.source)}</td>
|
<td>${escapeHtml(server.source)}</td>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@@ -371,7 +371,8 @@ async function getOverviewMetrics(url, sourceName) {
|
|||||||
total: totalTraffic24hRx + totalTraffic24hTx
|
total: totalTraffic24hRx + totalTraffic24hTx
|
||||||
},
|
},
|
||||||
servers: allInstancesList.map(s => {
|
servers: allInstancesList.map(s => {
|
||||||
return s; // Include all fields including originalInstance
|
const { originalInstance, ...rest } = s;
|
||||||
|
return rest;
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user