From 5ca7dc84efa3c0933b16a7d662152b4e75f8d2f8 Mon Sep 17 00:00:00 2001 From: Ashley Date: Mon, 26 Dec 2022 23:54:55 +0000 Subject: [PATCH] add credits easter egg owo! --- 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 b14eb8b9..8da6ab70 100644 --- a/src/libpoketube/init/pages-static.js +++ b/src/libpoketube/init/pages-static.js @@ -46,6 +46,10 @@ module.exports = function (app, config, renderTemplate) { renderTemplate(res, req, "license.ejs"); }); + app.get("/credits", function (req, res) { + renderTemplate(res, req, "want-you-gone.ejs"); + }); + app.get("/css/:id", (req, res) => { res.sendFile(req.params.id, { root: html_location }); });