mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 02:34:38 -05: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