This commit is contained in:
Daniël 2024-06-09 15:48:18 +02:00
parent 7a0e8c434a
commit 5366d764a8

View file

@ -44,9 +44,12 @@ app.get("/", async (req, res) => {
}
const { totalUploads, totalSize } = await storageEngine.gatherStatistics();
const kbToMB = totalSize / 1024 / 1024;
res.render("index", {
totalUploads: totalUploads,
totalSize: totalSize,
totalSize: kbToMB,
hosterEmail: hosterEmail,
});
});