mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 14:58:14 +01:00
tabs on discover :3
This commit is contained in:
parent
16b8656e59
commit
7b86319d9d
1 changed files with 1 additions and 1 deletions
|
@ -700,6 +700,7 @@ app.get("/", 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,
|
||||||
|
tab: req.query.tab,
|
||||||
isMobile: req.useragent.isMobile,
|
isMobile: req.useragent.isMobile,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -716,4 +717,3 @@ app.get("*", function (req, res) {
|
||||||
// listen
|
// listen
|
||||||
|
|
||||||
app.listen("3000", () => {});
|
app.listen("3000", () => {});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue