mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 08:18:29 +01:00
test commit ignore pls
This commit is contained in:
parent
76dae85866
commit
6214f1a0a1
1 changed files with 4 additions and 1 deletions
|
@ -370,9 +370,12 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
const dnoreplace = about?.Description.toString();
|
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`)
|
res.redirect(`/channel?id=${req.query.id}&tab=shorts`)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
renderTemplate(res, req, "channel.ejs", {
|
renderTemplate(res, req, "channel.ejs", {
|
||||||
ID,
|
ID,
|
||||||
|
|
Loading…
Reference in a new issue