1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 08:54:42 -05:00

tabs on discover :3

This commit is contained in:
Ashley 2022-10-03 19:15:54 +02:00
parent f50b783c6d
commit b9226fcecd

View file

@ -700,6 +700,7 @@ app.get("/", async function (req, res) {
const k = JSON.parse(toJson(h));
renderTemplate(res, req, "main.ejs", {
k: k,
tab: req.query.tab,
isMobile: req.useragent.isMobile,
});
});
@ -716,4 +717,3 @@ app.get("*", function (req, res) {
// listen
app.listen("3000", () => {});