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