chore: remove us-east region from UI, charts, and region selectors

This commit is contained in:
2026-03-18 20:13:11 +04:00
parent cbb1a26582
commit 2d46491dee
5 changed files with 4 additions and 9 deletions
+3 -4
View File
@@ -93,7 +93,6 @@
<%
const regionFlag = {
'eu-central': '🇩🇪',
'us-east': '🇺🇸',
'us-west': '🇺🇸',
'ap-southeast': '🇸🇬',
};
@@ -171,11 +170,11 @@
// ── Interactive latency chart ──────────────────────────────────────
const REGION_COLORS = {
'eu-central': '#3b82f6', 'us-east': '#10b981',
'eu-central': '#3b82f6',
'us-west': '#f59e0b', 'ap-southeast': '#a78bfa', '__none__': '#6b7280'
};
const REGION_FLAGS = {
'eu-central': '🇩🇪 EU Central', 'us-east': '🇺🇸 US East',
'eu-central': '🇩🇪 EU Central',
'us-west': '🇺🇸 US West', 'ap-southeast': '🇸🇬 AP Southeast'
};
@@ -476,7 +475,7 @@
if (tbody) {
const tr = document.createElement('tr');
tr.className = 'hover:bg-gray-800/50';
const regionFlags = {'eu-central':'🇩🇪','us-east':'🇺🇸','us-west':'🇺🇸','ap-southeast':'🇸🇬'};
const regionFlags = {'eu-central':'🇩🇪','us-west':'🇺🇸','ap-southeast':'🇸🇬'};
const regionDisplay = ping.region ? `${regionFlags[ping.region] || '🌐'} ${ping.region}` : '—';
tr.innerHTML = `
<td class="px-4 py-2">${ping.up ? '<span class="text-green-400">Up</span>' : '<span class="text-red-400">Down</span>'}</td>