From 64c6f8742eabf3622fa365a59f9e9ea067cc7028 Mon Sep 17 00:00:00 2001 From: Ashley Date: Tue, 26 Dec 2023 15:15:31 +0000 Subject: [PATCH] fix this --- src/libpoketube/init/pages-channel-and-download.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libpoketube/init/pages-channel-and-download.js b/src/libpoketube/init/pages-channel-and-download.js index 559005f3..9aecacc9 100644 --- a/src/libpoketube/init/pages-channel-and-download.js +++ b/src/libpoketube/init/pages-channel-and-download.js @@ -190,9 +190,10 @@ module.exports = function (app, config, renderTemplate) { const search = require("google-it"); - if (req.query.lucky === "true") { + if (req.query.lk === "true") { getRandomLinkAndRedirect(query, res); } + var uaos = req.useragent.os; var IsOldWindows;