From 4d3e63970d9a237fc69b079e35f955e4750213d7 Mon Sep 17 00:00:00 2001 From: ashley Date: Thu, 23 May 2024 20:12:24 +0000 Subject: [PATCH] test commit ignore pls --- src/libpoketube/init/pages-channel-and-download.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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", {