From 01f915ce149ba87de0ccad3340d6298b1b0708f9 Mon Sep 17 00:00:00 2001 From: Ashley //// Date: Sun, 28 Jan 2024 08:27:43 +0000 Subject: [PATCH] nvm lmao --- src/libpoketube/init/pages-video.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index e198f3fa..aa24f49c 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -235,9 +235,11 @@ 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"