aboutsummaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
authorPitu <[email protected]>2017-09-20 03:05:25 -0300
committerPitu <[email protected]>2017-09-20 03:05:25 -0300
commit338e827f1355b5ba76e852e64a0a25f3f842597d (patch)
treee78c46ed4a21e3c4e81cb37df5a77f3b36620b47 /routes
parentMade the album viewer route SSR so crawlers dont have issues 🎉 (diff)
downloadhost.fuwn.me-338e827f1355b5ba76e852e64a0a25f3f842597d.tar.xz
host.fuwn.me-338e827f1355b5ba76e852e64a0a25f3f842597d.zip
Added thumbnail to meta tags
Diffstat (limited to 'routes')
-rw-r--r--routes/album.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/album.js b/routes/album.js
index 4fbb971..2c084b4 100644
--- a/routes/album.js
+++ b/routes/album.js
@@ -51,7 +51,7 @@ routes.get('/a/:identifier', (req, res, next) => {
layout: false,
title: title,
count: files.length,
- thumb: files[0].
+ thumb,
files
})
}).catch(function(error) { console.log(error); res.json({ success: false, description: 'error' }) })