add /old :3

This commit is contained in:
Ashley 2023-08-29 09:08:00 +00:00
parent c7cda4f0b4
commit 11f861ffbe

View file

@ -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) => { app.get("/watch", async (req, res) => {
const { dm, v, e, r, f, m, quality: q, a, universe } = req.query; const { dm, v, e, r, f, m, quality: q, a, universe } = req.query;