use undici instead :3

This commit is contained in:
Ashley 2023-10-05 16:05:51 +00:00
parent 7062f0fc38
commit 450b141e1a

View file

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