g
This commit is contained in:
parent
e734b85e79
commit
e606f670d9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue