From 24dfe4032e40edb226e72d6d1284b7268bfd8eac Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 24 Aug 2023 19:20:52 +0000 Subject: [PATCH] 1 4 3 --- src/libpoketube/init/pages-static.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/libpoketube/init/pages-static.js b/src/libpoketube/init/pages-static.js index d1490fe3..2f75360a 100644 --- a/src/libpoketube/init/pages-static.js +++ b/src/libpoketube/init/pages-static.js @@ -45,8 +45,14 @@ module.exports = function (app, config, renderTemplate) { if (number_easteregg == "143") { renderTemplate(res, req, "143.ejs"); } + + if (req.query.number == "143") { + renderTemplate(res, req, "143.ejs"); + + } + if (number_easteregg != "143") { - return res.redirect("/"); + return res.redirect("/" + "?number=" + number_easteregg); } });