From e606f670d9dc86d32e4e06c8e27f5552ebecfe5a Mon Sep 17 00:00:00 2001 From: Ashley Graves <ashley@possum.city> Date: Sun, 3 Nov 2024 22:58:48 +0100 Subject: [PATCH] g --- js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/script.js b/js/script.js index ce35663..1e93a30 100644 --- a/js/script.js +++ b/js/script.js @@ -33,7 +33,7 @@ fetch(host.replace("%", "top10")).then(r => r.text()).then(r => { num: parseInt(segments[0]), hash: segments[1] } - hashes[info.hash] = hashes[info.hash] ?? { "seeds": 0 }; + hashes[info.hash] = hashes[info.hash] ?? { seeds: 0, peers: 0, leeches: 0 }; hashes[info.hash][current] = hashes[info.hash][current] ?? 0; hashes[info.hash][current] += info.num;