Skip to content

Commit

Permalink
把缩略图改成原图 (DIYgod#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgly307 authored and DIYgod committed May 23, 2018
1 parent b8f73fa commit 796b401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/instagram/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = async (ctx) => {
}
return {
title: `${type}${(item.edge_media_to_caption.edges && item.edge_media_to_caption.edges[0] && item.edge_media_to_caption.edges[0].node.text) || '无题'}`,
description: `${tip}<img referrerpolicy="no-referrer" src="${item.thumbnail_src}">`,
description: `${tip}<img referrerpolicy="no-referrer" src="${item.display_url}">`,
pubDate: new Date(item.taken_at_timestamp * 1000).toUTCString(),
link: `https://www.instagram.com/p/${item.shortcode}/`,
};
Expand Down

0 comments on commit 796b401

Please sign in to comment.