1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 00:34:41 -05:00

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());