Skip to content

Commit

Permalink
fix(web): infinite refresh loop on dl screen
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaUnknown committed Mar 9, 2024
1 parent ef6a791 commit 01e5af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/routes/download/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
setTimeout(async () => {
const downloads = await downloadForOS()
if (!downloads) return
if (!downloads || !downloads[userOS]) return
location.href = downloads[userOS]
}, 2000)
</script>
Expand Down

0 comments on commit 01e5af9

Please sign in to comment.