mirror of
https://codeberg.org/ashley/poke
synced 2025-05-31 03:29:43 +00:00
:3
This commit is contained in:
parent
59dd95fa39
commit
e775e617ed
@ -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…
x
Reference in New Issue
Block a user