1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 00:34:41 -05:00

add media_proxy :3

This commit is contained in:
Ashley 2023-12-10 10:09:25 +00:00
parent 027ff27e8d
commit acad845b30

View file

@ -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,