mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 06:37:49 +01:00
add redirect lol
This commit is contained in:
parent
eb34c3337c
commit
36db58f6bb
1 changed files with 4 additions and 0 deletions
|
@ -65,6 +65,10 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
res.redirect("/discover?tab=gaming");
|
res.redirect("/discover?tab=gaming");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
app.get("/custom-theme", (req, res) => {
|
||||||
|
res.redirect("/customize");
|
||||||
|
});
|
||||||
|
|
||||||
app.get("/results", (req, res) => {
|
app.get("/results", (req, res) => {
|
||||||
if (!req.query.search_query) {
|
if (!req.query.search_query) {
|
||||||
return res.redirect("/");
|
return res.redirect("/");
|
||||||
|
|
Loading…
Reference in a new issue