fix euproxy lol

This commit is contained in:
Ashley //// 2024-02-01 10:10:04 +00:00
parent 2fda016353
commit 402549e132

View file

@ -235,10 +235,8 @@ module.exports = function (app, config, renderTemplate) {
var vidurl = u.losslessurl; var vidurl = u.losslessurl;
} }
if (!inv_vid?.allowedRegions?.includes("US")) {
var vidurl = "https://eu-proxy.poketube.fun"; var vidurl = "https://eu-proxy.poketube.fun";
var isvidious = true; var isvidious = true;
}
if (req.useragent.source.includes("Pardus")) { if (req.useragent.source.includes("Pardus")) {
var vidurl = "https://tube-proxy.ashley0143.xyz"; var vidurl = "https://tube-proxy.ashley0143.xyz";
@ -297,6 +295,7 @@ module.exports = function (app, config, renderTemplate) {
useragent: req.useragent, useragent: req.useragent,
verify, verify,
discord, discord,
turntomins,
twitch, twitch,
reddit, reddit,
secure, secure,