mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 18:38:18 +01:00
add custom js :3
This commit is contained in:
parent
ed6aba6eaa
commit
1f43d38e4a
1 changed files with 6 additions and 2 deletions
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in a new issue