mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 09:38:25 +01:00
isMobile
This commit is contained in:
parent
4304cab592
commit
f84e66c3e8
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