1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2025-01-19 12:43:30 -05:00

add redirect lol

This commit is contained in:
Ashley 2023-02-23 16:04:35 +00:00
parent a348fec5f3
commit 31d90061b4

View file

@ -65,6 +65,10 @@ module.exports = function (app, config, renderTemplate) {
res.redirect("/discover?tab=gaming");
});
app.get("/custom-theme", (req, res) => {
res.redirect("/customize");
});
app.get("/results", (req, res) => {
if (!req.query.search_query) {
return res.redirect("/");