Proxy images in RSS

This commit is contained in:
Cadence Fish
2020-01-16 23:10:15 +13:00
parent c99de263f4
commit bdedd13124
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ class GraphImage {
getFeedData() {
return {
title: this.getIntroduction() || "No caption provided",
description: rssDescriptionTemplate({src: this.data.display_url, alt: this.getAlt(), caption: this.getCaption()}),
description: rssDescriptionTemplate({src: config.website_origin+proxyImage(this.data.display_url), alt: this.getAlt(), caption: this.getCaption()}),
author: this.data.owner.username,
url: `${config.website_origin}/p/${this.data.shortcode}`,
guid: `${config.website_origin}/p/${this.data.shortcode}`,