mirror of
https://codeberg.org/ashley/poke
synced 2026-03-03 13:43:45 +00:00
1 4 3
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user