mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-01 05:37:19 +01:00
add custom js :3
This commit is contained in:
parent
14fbe89618
commit
b5f41d61f2
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