diff --git a/src/libpoketube/init/pages-channel-and-download.js b/src/libpoketube/init/pages-channel-and-download.js index db07674c..98a718ba 100644 --- a/src/libpoketube/init/pages-channel-and-download.js +++ b/src/libpoketube/init/pages-channel-and-download.js @@ -47,12 +47,13 @@ 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("/"); } }); - + app.get("/old/watch", async function (req, res) { var v = req.query.v; var e = req.query.e;