From a4449f8719a4afd9e4b96294b8e70f768643d315 Mon Sep 17 00:00:00 2001 From: Ashley Date: Sat, 28 Jan 2023 13:42:04 +0000 Subject: [PATCH] yup, thats the commit --- src/libpoketube/init/pages-video.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index b27b9e34..c0b573e6 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -186,6 +186,7 @@ module.exports = function (app, config, renderTemplate) { const isvld = await core.isvalidvideo(v); if (!v) res.redirect("/"); + const u = await media_proxy(v); var secure; @@ -244,6 +245,7 @@ module.exports = function (app, config, renderTemplate) { if (d === "[object Object]") { var d = false; } + renderTemplate(res, req, "poketube.ejs", { color: data.color,