From acad845b304c442710c5a23ae4f87378cd42aab6 Mon Sep 17 00:00:00 2001 From: Ashley Date: Sun, 10 Dec 2023 10:09:25 +0000 Subject: [PATCH] add media_proxy :3 --- 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 907af8bf..7de1caa5 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -19,6 +19,7 @@ const { } = require("../ptutils/libpt-coreutils.js"); const media_proxy = require("../libpoketube-video.js"); const atmos = require("../../../pokeatmosurls.json"); +const config = require("../../../config.json"); function linkify(text) { // regular expression to match URLs @@ -279,6 +280,7 @@ module.exports = function (app, config, renderTemplate) { twitter, k, dm, + media_proxy_url : config.media_proxy, instagram, useragent: req.useragent, verify,