From 3b142ac2134c341f6d55bf8737c6bdadf0be40df Mon Sep 17 00:00:00 2001 From: Ashley Date: Tue, 13 Jun 2023 18:31:59 +0000 Subject: [PATCH] redirect /discover to /app :3 --- src/libpoketube/init/pages-redir.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libpoketube/init/pages-redir.js b/src/libpoketube/init/pages-redir.js index d0d2bd59..21c4f2af 100644 --- a/src/libpoketube/init/pages-redir.js +++ b/src/libpoketube/init/pages-redir.js @@ -57,6 +57,10 @@ module.exports = function (app, config, renderTemplate) { res.redirect("https://youtube.com/upload"); }); + app.get("/discover", (req, res) => { + res.redirect("/app"); + }); + app.get("/sex", (req, res) => { res.redirect("https://poketube.fun/watch?v=dQw4w9WgXcQ&e=f"); });