This commit is contained in:
ashley 2024-07-15 20:02:58 +00:00
parent 867bb45e42
commit 1b2e86f5f8

View file

@ -230,16 +230,7 @@ module.exports = function (app, config, renderTemplate) {
? `&continuation=${req.query.continuations}`
: "";
const sort_by = req.query.sort_by || "newest";
const getChannelData = async (url) => {
try {
return await fetch(url)
.then((res) => res.text())
.then((txt) => getJson(txt));
} catch (error) {
return null;
}
};
const getChannelData = async (url) => {
try {