mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-24 04:28:03 +01:00
use config.invidapi instead
This commit is contained in:
parent
8fc004c971
commit
fa861a0b4f
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
if (req.useragent.isMobile) res.redirect("/");
|
||||
|
||||
const playlist = await fetch(
|
||||
`https://invid-api.poketube.fun/api/v1/playlists/${req.query.list}?hl=en-us`
|
||||
`${config.invapi}playlists/${req.query.list}?hl=en-us`
|
||||
);
|
||||
|
||||
const p = getJson(await playlist.text());
|
||||
|
|
Loading…
Reference in a new issue