Update src/libpoketube/init/pages-channel-and-download.js

This commit is contained in:
ashley 2025-08-18 10:28:44 +02:00
parent 5404b866ea
commit ef626ced8e

View File

@ -342,7 +342,6 @@ module.exports = function (app, config, renderTemplate) {
turntomins,
pronoun,
media_proxy_url: media_proxy,
dnoreplace,
getThumbnailUrl,
continuation,
wiki: "",
@ -353,8 +352,7 @@ module.exports = function (app, config, renderTemplate) {
subs: typeof subscribers === "string"
? subscribers.replace("subscribers", "")
: "None",
desc: dnoreplace === "[object Object]" ? "" : description,
});
});
} catch (error) {
console.error("Failed to render channel page:", error);
res.redirect("/");