From 11f861ffbe942e614a6228e261dadb188e2e6a81 Mon Sep 17 00:00:00 2001 From: Ashley Date: Tue, 29 Aug 2023 09:08:00 +0000 Subject: [PATCH] add /old :3 --- src/libpoketube/init/pages-video.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index 46218455..c1911837 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -127,6 +127,14 @@ module.exports = function (app, config, renderTemplate) { }); + app.get("/old", function (req, res) { + const v = req.query.v; + + renderTemplate(res, req, "poketube-old.ejs", { + v, + }); + }); + app.get("/watch", async (req, res) => { const { dm, v, e, r, f, m, quality: q, a, universe } = req.query;