add custom js :3

This commit is contained in:
Ashley 2023-02-23 15:58:19 +00:00
parent 14fbe89618
commit b5f41d61f2

View file

@ -54,8 +54,12 @@ module.exports = function (app, config, renderTemplate) {
renderTemplate(res, req, "want-you-gone.ejs"); renderTemplate(res, req, "want-you-gone.ejs");
}); });
app.get("/custom-theme", function (req, res) { app.get("/customize", function (req, res) {
renderTemplate(res, req, "custom-css.ejs"); const tab = req.query.tab;
renderTemplate(res, req, "custom-css.ejs", {
tab,
});
}); });
app.get("/css/:id", (req, res) => { app.get("/css/:id", (req, res) => {