This commit is contained in:
Daniël 2024-06-09 15:43:44 +02:00
parent f13ba3475b
commit 7a0e8c434a

View file

@ -43,10 +43,10 @@ app.get("/", async (req, res) => {
throw new Error("Invalid STORAGE_MODE");
}
const { uploads, size } = await storageEngine.gatherStatistics();
const { totalUploads, totalSize } = await storageEngine.gatherStatistics();
res.render("index", {
totalUploads: uploads,
totalSize: size.toFixed(2),
totalUploads: totalUploads,
totalSize: totalSize,
hosterEmail: hosterEmail,
});
});