mirror of
https://codeberg.org/ashley/poke
synced 2025-06-01 20:19:41 +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";
|
var q = "18";
|
||||||
if (req.query.q) q = req.query.q;
|
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);
|
res.redirect(url);
|
||||||
});
|
});
|
||||||
@ -108,7 +108,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||||||
const l = req.query.h;
|
const l = req.query.h;
|
||||||
|
|
||||||
try {
|
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, {
|
let f = await fetch(url, {
|
||||||
headers: headers, // Add headers to the fetch request
|
headers: headers, // Add headers to the fetch request
|
||||||
|
Loading…
x
Reference in New Issue
Block a user