mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 11:38:25 +01:00
add new search stuff :3
This commit is contained in:
parent
18cd455775
commit
326ace45ac
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
|
|
||||||
const rendermainpage = () => {
|
const rendermainpage = () => {
|
||||||
if (req.useragent.isMobile) {
|
if (req.useragent.isMobile) {
|
||||||
return res.redirect("/discover");
|
return res.redirect("/app?tab=search");
|
||||||
}
|
}
|
||||||
|
|
||||||
return renderTemplate(res, req, "landing.ejs", {
|
return renderTemplate(res, req, "landing.ejs", {
|
||||||
|
|
Loading…
Reference in a new issue