From 6fd18b92d6d7661fdc091ed6be2f88ee67c98bc8 Mon Sep 17 00:00:00 2001 From: Simon Wanner Date: Wed, 22 Dec 2021 22:48:56 +0100 Subject: [PATCH] Fix file size calculation --- minecraft-version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minecraft-version.js b/minecraft-version.js index a6d26ba..5d60a39 100644 --- a/minecraft-version.js +++ b/minecraft-version.js @@ -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' }