mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-01 10:27:22 +01:00
tabs on discover :3
This commit is contained in:
parent
f50b783c6d
commit
b9226fcecd
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