chore: remove us-east and ap-southeast regions from UI
This commit is contained in:
@@ -94,7 +94,6 @@
|
||||
const regionFlag = {
|
||||
'eu-central': '🇩🇪',
|
||||
'us-west': '🇺🇸',
|
||||
'ap-southeast': '🇸🇬',
|
||||
};
|
||||
%>
|
||||
<thead>
|
||||
@@ -171,11 +170,11 @@
|
||||
// ── Interactive latency chart ──────────────────────────────────────
|
||||
const REGION_COLORS = {
|
||||
'eu-central': '#3b82f6',
|
||||
'us-west': '#f59e0b', 'ap-southeast': '#a78bfa', '__none__': '#6b7280'
|
||||
'us-west': '#f59e0b', '__none__': '#6b7280'
|
||||
};
|
||||
const REGION_FLAGS = {
|
||||
'eu-central': '🇩🇪 EU Central',
|
||||
'us-west': '🇺🇸 US West', 'ap-southeast': '🇸🇬 AP Southeast'
|
||||
'us-west': '🇺🇸 US West'
|
||||
};
|
||||
|
||||
const MAX_RUNS = 25;
|
||||
@@ -475,7 +474,7 @@
|
||||
if (tbody) {
|
||||
const tr = document.createElement('tr');
|
||||
tr.className = 'hover:bg-gray-800/50';
|
||||
const regionFlags = {'eu-central':'🇩🇪','us-west':'🇺🇸','ap-southeast':'🇸🇬'};
|
||||
const regionFlags = {'eu-central':'🇩🇪','us-west':'🇺🇸'};
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user