add custom js :3

This commit is contained in:
Ashley 2023-02-23 15:58:19 +00:00
parent ed6aba6eaa
commit 1f43d38e4a

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) => {