diff --git a/controllers/uploadController.js b/controllers/uploadController.js index 80e53f2..1549a3b 100644 --- a/controllers/uploadController.js +++ b/controllers/uploadController.js @@ -791,7 +791,7 @@ uploadsController.list = async (req, res) => { for (const file of files) { file.extname = utils.extname(file.name) if (utils.mayGenerateThumb(file.extname)) - file.thumb = `/thumbs/${file.name.slice(0, -file.extname.length)}.png` + file.thumb = `thumbs/${file.name.slice(0, -file.extname.length)}.png` } // If we are not listing all uploads, query album names