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',
|
||||
() => resolve(result)
|
||||
)
|
||||
} else {
|
||||
fs.unlink(target, () => {
|
||||
const file = fs.createWriteStream(target)
|
||||
data.pipe(file)
|
||||
})
|
||||
}
|
||||
else {
|
||||
const file = fs.createWriteStream(target)
|
||||
data.pipe(file)
|
||||
}
|
||||
|
||||
data.on(
|
||||
'end',
|
||||
() => {
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
<p class="rank-position">{{ rank.rank }}.</p>
|
||||
<p class="rank-player">{{ rank.player }}</p>
|
||||
<p class="rank-points">{{ rank.points }} pts</p>
|
||||
<p class="rank-points">{{ rank.region }} pts</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user