diff options
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/album.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/album.js b/routes/album.js index 2c084b4..20ccc26 100644 --- a/routes/album.js +++ b/routes/album.js @@ -28,7 +28,7 @@ routes.get('/a/:identifier', (req, res, next) => { file.file = basedomain + '/' + file.name let ext = path.extname(file.name).toLowerCase() - if (utils.extensions.includes(ext)) { + if (utils.imageExtensions.includes(ext) || utils.videoExtensions.includes(ext)) { file.thumb = basedomain + '/thumbs/' + file.name.slice(0, -ext.length) + '.png' /* |