add custom themes :3

This commit is contained in:
Ashley 2023-02-22 16:02:06 +00:00
parent 6355800bec
commit 2b0f354414

View file

@ -54,6 +54,10 @@ module.exports = function (app, config, renderTemplate) {
renderTemplate(res, req, "want-you-gone.ejs");
});
app.get("/custom-theme", function (req, res) {
renderTemplate(res, req, "custom-css.ejs");
});
app.get("/css/:id", (req, res) => {
res.sendFile(req.params.id, { root: html_location });
});