Update src/libpoketube/init/pages-channel-and-download.js
This commit is contained in:
parent
5404b866ea
commit
ef626ced8e
@ -342,7 +342,6 @@ module.exports = function (app, config, renderTemplate) {
|
|||||||
turntomins,
|
turntomins,
|
||||||
pronoun,
|
pronoun,
|
||||||
media_proxy_url: media_proxy,
|
media_proxy_url: media_proxy,
|
||||||
dnoreplace,
|
|
||||||
getThumbnailUrl,
|
getThumbnailUrl,
|
||||||
continuation,
|
continuation,
|
||||||
wiki: "",
|
wiki: "",
|
||||||
@ -353,8 +352,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||||||
subs: typeof subscribers === "string"
|
subs: typeof subscribers === "string"
|
||||||
? subscribers.replace("subscribers", "")
|
? subscribers.replace("subscribers", "")
|
||||||
: "None",
|
: "None",
|
||||||
desc: dnoreplace === "[object Object]" ? "" : description,
|
});
|
||||||
});
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Failed to render channel page:", error);
|
console.error("Failed to render channel page:", error);
|
||||||
res.redirect("/");
|
res.redirect("/");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user