mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 06:28:35 +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("/");
|
if (req.useragent.isMobile) res.redirect("/");
|
||||||
|
|
||||||
const playlist = await fetch(
|
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());
|
const p = getJson(await playlist.text());
|
||||||
|
|
Loading…
Reference in a new issue