From 9454f8c5c1bc2d59f69f8032fd3038d25eb8baf8 Mon Sep 17 00:00:00 2001 From: svatantrya Date: Tue, 30 Jun 2026 05:48:37 -0400 Subject: [PATCH] Fix weLink using object key instead of numeric server id --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);