mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 10:47:48 +01:00
use undici instead :3
This commit is contained in:
parent
7062f0fc38
commit
450b141e1a
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue