This commit is contained in:
Ashley Graves 2024-10-10 14:55:37 +02:00
parent 89fca15655
commit 7dd81081a2

View file

@ -107,8 +107,8 @@ function isAIPost(post) {
var credentials = JSON.parse(readFileSync("credentials.json")); var credentials = JSON.parse(readFileSync("credentials.json"));
function proxy(url) { function proxy(url) {
if (!process.env.IMGPROXY_HOST) // if (!process.env.IMGPROXY_HOST)
return url; return url;
url = generateImageUrl({ url = generateImageUrl({
endpoint: process.env.IMGPROXY_HOST, endpoint: process.env.IMGPROXY_HOST,