mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 09:38:25 +01:00
1 4 3
This commit is contained in:
parent
796cfe4403
commit
24dfe4032e
1 changed files with 7 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue