From 3298798e0c85fc927792419030d272ca2303ba87 Mon Sep 17 00:00:00 2001 From: Ashley Date: Mon, 13 Mar 2023 16:08:51 +0000 Subject: [PATCH] change api url for trending --- src/libpoketube/init/pages-404-and-main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpoketube/init/pages-404-and-main.js b/src/libpoketube/init/pages-404-and-main.js index e157fe19..669bfba8 100644 --- a/src/libpoketube/init/pages-404-and-main.js +++ b/src/libpoketube/init/pages-404-and-main.js @@ -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;