From 9a5e38f5613352cfe8ac545268227ccb7380cbb1 Mon Sep 17 00:00:00 2001 From: Ashley //// Date: Sun, 28 Jan 2024 08:22:57 +0000 Subject: [PATCH] make it eu proxy for now --- src/libpoketube/init/pages-video.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index aa24f49c..e198f3fa 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -235,11 +235,9 @@ module.exports = function (app, config, renderTemplate) { var vidurl = u.losslessurl; } - if (!inv_vid?.allowedRegions?.includes("US")) { var vidurl = "https://eu-proxy.poketube.fun"; var isvidious = true; - } - + if (req.useragent.source.includes("Pardus")) { var vidurl = "https://tube-proxy.ashley0143.xyz"; var mediaproxy = "https://media-proxy.ashley0143.xyz"