mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 04:14:39 -05:00
isMobile
This commit is contained in:
parent
15765f9d6b
commit
3cbf62781f
1 changed files with 2 additions and 0 deletions
|
@ -246,6 +246,8 @@ app.get("/discover", async function (req, res) {
|
||||||
const k = JSON.parse(toJson(h));
|
const k = JSON.parse(toJson(h));
|
||||||
renderTemplate(res, req, "main.ejs", {
|
renderTemplate(res, req, "main.ejs", {
|
||||||
k: k,
|
k: k,
|
||||||
|
isMobile:req.useragent.isMobile
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue