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)); 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", () => {});