diff --git a/src/lib/structures/Timeline.js b/src/lib/structures/Timeline.js index 5d864b8..cff95f0 100644 --- a/src/lib/structures/Timeline.js +++ b/src/lib/structures/Timeline.js @@ -51,7 +51,7 @@ class Timeline { feed_url: `${config.website_origin}/u/${this.user.data.username}/rss.xml`, site_url: config.website_origin, description: this.user.data.biography, - image_url: this.user.data.profile_pic_url, + image_url: config.website_origin+this.user.proxyProfilePicture, pubDate: new Date(this.user.cachedAt), ttl: this.user.getTtl(1000*60) // scale to minute }) diff --git a/src/lib/structures/TimelineImage.js b/src/lib/structures/TimelineImage.js index d0f920f..0475366 100644 --- a/src/lib/structures/TimelineImage.js +++ b/src/lib/structures/TimelineImage.js @@ -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}`,