mirror of
https://codeberg.org/ashley/poke
synced 2026-04-09 03:37:58 +00:00
add mobile download page :3
This commit is contained in:
@@ -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("/");
|
||||
|
||||
Reference in New Issue
Block a user