oops typo
This commit is contained in:
parent
e606f670d9
commit
cad9b6f493
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]),
|
num: parseInt(segments[0]),
|
||||||
hash: segments[1]
|
hash: segments[1]
|
||||||
}
|
}
|
||||||
hashes[info.hash] = hashes[info.hash] ?? { seeds: 0, peers: 0, leeches: 0 };
|
hashes[info.hash] = hashes[info.hash] ?? { seeds: 0, peers: 0, leechers: 0 };
|
||||||
hashes[info.hash][current] = hashes[info.hash][current] ?? 0;
|
hashes[info.hash][current] = hashes[info.hash][current] ?? 0;
|
||||||
|
|
||||||
hashes[info.hash][current] += info.num;
|
hashes[info.hash][current] += info.num;
|
||||||
|
|
Loading…
Add table
Reference in a new issue