From 1853866bf587ee627a0d67a803e8931020762c32 Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 27 Dec 2023 08:53:39 +0000 Subject: [PATCH] Update src/libpoketube/init/pages-video.js --- src/libpoketube/init/pages-video.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index f8e3e007..30e11be8 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -245,10 +245,10 @@ module.exports = function (app, config, renderTemplate) { var vidurl = u.losslessurl; } - if (inv_vid.author.endsWith(" - Topic")) { + var vidurl = "https://eu-proxy.poketube.fun"; var isvidious = true; - } + if (req.useragent.source.includes("Pardus")) { var vidurl = "https://yt.sudovanilla.com"; @@ -552,4 +552,4 @@ module.exports = function (app, config, renderTemplate) { } } }); -}; +}; \ No newline at end of file