mirror of
https://codeberg.org/ashley/poke
synced 2025-04-05 09:07:59 +00:00
add media_proxy :3
This commit is contained in:
parent
027ff27e8d
commit
acad845b30
@ -19,6 +19,7 @@ const {
|
|||||||
} = require("../ptutils/libpt-coreutils.js");
|
} = require("../ptutils/libpt-coreutils.js");
|
||||||
const media_proxy = require("../libpoketube-video.js");
|
const media_proxy = require("../libpoketube-video.js");
|
||||||
const atmos = require("../../../pokeatmosurls.json");
|
const atmos = require("../../../pokeatmosurls.json");
|
||||||
|
const config = require("../../../config.json");
|
||||||
|
|
||||||
function linkify(text) {
|
function linkify(text) {
|
||||||
// regular expression to match URLs
|
// regular expression to match URLs
|
||||||
@ -279,6 +280,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||||||
twitter,
|
twitter,
|
||||||
k,
|
k,
|
||||||
dm,
|
dm,
|
||||||
|
media_proxy_url : config.media_proxy,
|
||||||
instagram,
|
instagram,
|
||||||
useragent: req.useragent,
|
useragent: req.useragent,
|
||||||
verify,
|
verify,
|
||||||
|
Loading…
Reference in New Issue
Block a user