diff --git a/index.html b/index.html index 35a1861..427ad1b 100644 --- a/index.html +++ b/index.html @@ -423,7 +423,7 @@ async function fetchData() { const response = await fetch(`/data/${chain}?${params}`); if (!response.ok) throw new Error(`HTTP ${response.status}`); const obj = await response.json(); - allServers = Object.entries(obj).map(([key, s]) => ({ ...s, id: key })); + allServers = Object.entries(obj).map(([key, s]) => ({ id: key, ...s })); render(); } catch (err) { console.error('Fetch error:', err);