Merge branch 'main' of https://git.qwik.space/BurnyLlama/ddstats-server
This commit is contained in:
commit
81338ec3e3
|
@ -35,11 +35,13 @@ export function download(url, target) {
|
||||||
'end',
|
'end',
|
||||||
() => resolve(result)
|
() => resolve(result)
|
||||||
)
|
)
|
||||||
}
|
} else {
|
||||||
else {
|
fs.unlink(target, () => {
|
||||||
const file = fs.createWriteStream(target)
|
const file = fs.createWriteStream(target)
|
||||||
data.pipe(file)
|
data.pipe(file)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
data.on(
|
data.on(
|
||||||
'end',
|
'end',
|
||||||
() => {
|
() => {
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
<p class="rank-position">{{ rank.rank }}.</p>
|
<p class="rank-position">{{ rank.rank }}.</p>
|
||||||
<p class="rank-player">{{ rank.player }}</p>
|
<p class="rank-player">{{ rank.player }}</p>
|
||||||
<p class="rank-points">{{ rank.points }} pts</p>
|
<p class="rank-points">{{ rank.points }} pts</p>
|
||||||
<p class="rank-points">{{ rank.region }} pts</p>
|
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user