mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 16:17:52 +01: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));
|
||||
renderTemplate(res, req, "main.ejs", {
|
||||
k: k,
|
||||
isMobile:req.useragent.isMobile
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue