Skip to content

Commit

Permalink
Fix file size calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
skyrising authored Dec 22, 2021
1 parent d6574f9 commit 6fd18b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minecraft-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ async function poll () {
}

const fancySize = size => {
const mbs = size / (1024 * 1204)
const mbs = size / (1024 * 1024)
return mbs.toFixed(1) + 'MB'
}

Expand Down

0 comments on commit 6fd18b9

Please sign in to comment.