diff --git a/src/libpoketube/init/pages-channel-and-download.js b/src/libpoketube/init/pages-channel-and-download.js index cdc6e59b..0c2dbd82 100644 --- a/src/libpoketube/init/pages-channel-and-download.js +++ b/src/libpoketube/init/pages-channel-and-download.js @@ -370,11 +370,7 @@ module.exports = function (app, config, renderTemplate) { const dnoreplace = about?.Description.toString(); - if(!Array.isArray(tj?.videos)) { - if(Array.isArray(shorts?.videos)) { - res.redirect(`/channel?id=${req.query.id}&tab=shorts`) - } - } + renderTemplate(res, req, "channel.ejs", {