test commit ignore pls

This commit is contained in:
ashley 2024-05-22 20:07:45 +00:00
parent 76dae85866
commit 6214f1a0a1

View file

@ -370,9 +370,12 @@ module.exports = function (app, config, renderTemplate) {
const dnoreplace = about?.Description.toString();
if(!Array.isArray(tj?.videos) && Array.isArray(shorts?.videos) ) {
if(!Array.isArray(tj?.videos)) {
if(Array.isArray(shorts?.videos)) {
res.redirect(`/channel?id=${req.query.id}&tab=shorts`)
}
}
renderTemplate(res, req, "channel.ejs", {
ID,