From 3872e7cb6479b42546880224135fb8d9e2c87ca2 Mon Sep 17 00:00:00 2001 From: ashley Date: Thu, 24 Oct 2024 13:55:49 +0000 Subject: [PATCH] oops --- src/libpoketube/init/pages-channel-and-download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpoketube/init/pages-channel-and-download.js b/src/libpoketube/init/pages-channel-and-download.js index df31db7e..c47f5522 100644 --- a/src/libpoketube/init/pages-channel-and-download.js +++ b/src/libpoketube/init/pages-channel-and-download.js @@ -155,7 +155,7 @@ module.exports = function (app, config, renderTemplate) { let searchUrl; if (req.query.from === 'hashtag') { - searchUrl = `/hashtag/${encodeURIComponent(query)}`; + searchUrl = `${config.invapi}/hashtag/${query}`; } else { searchUrl = `${config.invapi}/search?q=${encodeURIComponent(query)}&page=${encodeURIComponent(continuation)}&date=${date}&type=${type}&duration=${duration}&sort=${sort}&hl=en+gb`; }