From ff45b70bcdb27fafd62bccf02bac52ab5bc1bb0e Mon Sep 17 00:00:00 2001 From: ashley Date: Wed, 1 May 2024 06:41:06 +0000 Subject: [PATCH] add proxyurl --- src/libpoketube/init/pages-404-and-main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libpoketube/init/pages-404-and-main.js b/src/libpoketube/init/pages-404-and-main.js index 123197d9..df63283c 100644 --- a/src/libpoketube/init/pages-404-and-main.js +++ b/src/libpoketube/init/pages-404-and-main.js @@ -116,6 +116,7 @@ module.exports = function (app, config, renderTemplate) { const random = splash[Math.floor(Math.random() * splash.length)]; const browser = req.useragent.browser; const isOldWindows = (uaos === "Windows 7" || uaos === "Windows 8") && browser === "Firefox"; + var proxyurl = config.p_url; const secure = [ "poketube.fun", @@ -136,6 +137,7 @@ module.exports = function (app, config, renderTemplate) { secure, verify, isOldWindows, + proxyurl, random }); };