fix twitter user link

This commit is contained in:
DIYgod
2018-05-11 01:25:39 +08:00
parent b1f7377251
commit 8c3a2be254
+1 -1
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}`
})),
});
};