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

View file

@ -231,15 +231,6 @@ module.exports = function (app, config, renderTemplate) {
: "";
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 {