add mobile download page :3

This commit is contained in:
Ashley 2023-10-23 15:05:33 +00:00
parent f833a6b095
commit e5ae26293c

View file

@ -47,6 +47,7 @@ module.exports = function (app, config, renderTemplate) {
color: await modules
.getColors(`https://i.ytimg.com/vi/${v}/maxresdefault.jpg`)
.then((colors) => colors[0].hex()),
isMobile: req.useragent.isMobile,
});
} catch {
res.redirect("/");