fix twitter user link

This commit is contained in:
DIYgod 2018-05-11 01:25:39 +08:00
parent b1f7377251
commit 8c3a2be254
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ module.exports = async (ctx) => {
title: `${item.in_reply_to_screen_name ? 'Re ' : ''}${item.text.length > 30 ? item.text.slice(0, 30) + '...' : item.text}`,
description: `${item.in_reply_to_screen_name ? 'Re ' : ''}${item.text}`,
pubDate: new Date(item.createdTime).toUTCString(),
link: `https://twitter.com/${id}/${item.id_str}`
link: `https://twitter.com/${id}/status/${item.id_str}`
})),
});
};