mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 23:37:48 +01:00
add custom themes :3
This commit is contained in:
parent
68abb6d17b
commit
27c56031c3
1 changed files with 4 additions and 0 deletions
|
@ -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 });
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue