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 }); };