use config.invidapi instead

This commit is contained in:
Ashley //// 2024-03-27 16:16:53 +00:00
parent ae967320be
commit 8fc004c971

View file

@ -79,7 +79,7 @@ module.exports = function (app, config, renderTemplate) {
}
const invtrend = await fetch(
`https://invid-api.poketube.fun/api/v1/trending${tab}`
`${config.invapi}/trending${tab}`
);
const t = getJson(await invtrend.text());