From 6343854e1980326cdea4f6a32649d28b137432ed Mon Sep 17 00:00:00 2001 From: Kibi Kelburton Date: Sun, 17 May 2026 12:27:32 +0200 Subject: [PATCH] update storage paths --- src/inc/routes/ranking.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inc/routes/ranking.mjs b/src/inc/routes/ranking.mjs index 28f46b4..d0b3f06 100644 --- a/src/inc/routes/ranking.mjs +++ b/src/inc/routes/ranking.mjs @@ -18,7 +18,7 @@ try { } function updateDiskSize() { - exec("du -sb f0ckm-data/b f0ckm-data/t f0ckm-data/c", (error, stdout, stderr) => { + exec(`du -sb ${config.paths.b} ${config.paths.t} ${config.paths.c}`, (error, stdout, stderr) => { if (error) { console.error(`Error calculating disk size: ${error.message}`); return;