change api url for trending

This commit is contained in:
Ashley 2023-03-13 16:08:51 +00:00
parent 0a5ca0b54e
commit 3298798e0c

View file

@ -39,7 +39,7 @@ module.exports = function (app, config, renderTemplate) {
tab = `/?type=${capitalizeFirstLetter(req.query.tab)}`;
}
const invtrend = await modules.fetch(`https://inv.zzls.xyz/api/v1/trending${tab}`);
const invtrend = await modules.fetch(`https://invid-api.poketube.fun/api/v1/trending${tab}`);
const t = getJson(await invtrend.text());
let j = null;