From 0bce5e6da395907bb4e320481f59250e74fd1545 Mon Sep 17 00:00:00 2001 From: Bobby Wibowo Date: Fri, 27 Apr 2018 02:54:00 +0700 Subject: [PATCH] Updated routes/albums.js Thumbnails' alt will now be their file name instead of full thumb URL. --- routes/album.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/album.js b/routes/album.js index 2a61746..c5849e2 100644 --- a/routes/album.js +++ b/routes/album.js @@ -49,7 +49,7 @@ routes.get('/a/:identifier', async (req, res, next) => { thumb = file.thumb } - file.thumb = `${file.thumb}` + file.thumb = `${file.name}` } else { file.thumb = `

${extname || 'N/A'}

` }