mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 12:38:26 +01:00
add redirect lol
This commit is contained in:
parent
a348fec5f3
commit
31d90061b4
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