From 326ace45ac8a4374fc24fd73ea8091439ac34fe4 Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 9 Aug 2023 18:41:45 +0000 Subject: [PATCH] add new search stuff :3 --- src/libpoketube/init/pages-404-and-main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpoketube/init/pages-404-and-main.js b/src/libpoketube/init/pages-404-and-main.js index f6a8dd36..e34897e3 100644 --- a/src/libpoketube/init/pages-404-and-main.js +++ b/src/libpoketube/init/pages-404-and-main.js @@ -144,7 +144,7 @@ module.exports = function (app, config, renderTemplate) { const rendermainpage = () => { if (req.useragent.isMobile) { - return res.redirect("/discover"); + return res.redirect("/app?tab=search"); } return renderTemplate(res, req, "landing.ejs", {