mirror of
https://codeberg.org/ashley/poke.git
synced 2025-04-09 03:01:48 -05:00
:3
This commit is contained in:
parent
59dd95fa39
commit
e775e617ed
1 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
var q = "18";
|
||||
if (req.query.q) q = req.query.q;
|
||||
|
||||
const url = `https://eu-proxy.poketube.fun/latest_version?id=${v}&itag=${q}&local=true`;
|
||||
const url = `${config.videourl}latest_version?id=${v}&itag=${q}&local=true`;
|
||||
|
||||
res.redirect(url);
|
||||
});
|
||||
|
@ -108,7 +108,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
const l = req.query.h;
|
||||
|
||||
try {
|
||||
let url = `https://eu-proxy.poketube.fun/api/v1/captions/${id}?label=${l}`;
|
||||
let url = `${config.videourl}/api/v1/captions/${id}?label=${l}`;
|
||||
|
||||
let f = await fetch(url, {
|
||||
headers: headers, // Add headers to the fetch request
|
||||
|
|
Loading…
Add table
Reference in a new issue