This commit is contained in:
Ashley 2023-08-24 19:20:52 +00:00
parent 796cfe4403
commit 24dfe4032e

View file

@ -45,8 +45,14 @@ module.exports = function (app, config, renderTemplate) {
if (number_easteregg == "143") { if (number_easteregg == "143") {
renderTemplate(res, req, "143.ejs"); renderTemplate(res, req, "143.ejs");
} }
if (req.query.number == "143") {
renderTemplate(res, req, "143.ejs");
}
if (number_easteregg != "143") { if (number_easteregg != "143") {
return res.redirect("/"); return res.redirect("/" + "?number=" + number_easteregg);
} }
}); });