From 27c56031c367ec29d6ef24b3cdcc300524220512 Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 22 Feb 2023 16:02:06 +0000 Subject: [PATCH] add custom themes :3 --- src/libpoketube/init/pages-static.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libpoketube/init/pages-static.js b/src/libpoketube/init/pages-static.js index 0043bc4f..d2d65607 100644 --- a/src/libpoketube/init/pages-static.js +++ b/src/libpoketube/init/pages-static.js @@ -53,6 +53,10 @@ module.exports = function (app, config, renderTemplate) { app.get("/credits", function (req, res) { 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 });