mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 09:58:14 +01:00
fix some stuff :3
This commit is contained in:
parent
aed76b3a1a
commit
575db38a3a
1 changed files with 3 additions and 3 deletions
|
@ -198,9 +198,9 @@ module.exports = function (app, config, renderTemplate) {
|
|||
}
|
||||
|
||||
const subscribers = boutJson.Channel?.Metadata.Subscribers;
|
||||
const about = boutJson.Channel.Contents.ItemSection.About;
|
||||
const description = about.Description.toString().replace(/\n/g, " <br> ");
|
||||
const dnoreplace = about.Description.toString();
|
||||
const about = boutJson?.Channel?.Contents?.ItemSection.About;
|
||||
const description = about?.Description.toString().replace(/\n/g, " <br> ");
|
||||
const dnoreplace = about?.Description.toString();
|
||||
|
||||
renderTemplate(res, req, "channel.ejs", {
|
||||
ID,
|
||||
|
|
Loading…
Reference in a new issue