From 8c3a2be25486ae2faeb19ceb4860390ae0376c66 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Fri, 11 May 2018 01:25:39 +0800 Subject: [PATCH] fix twitter user link --- routes/twitter/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/twitter/user.js b/routes/twitter/user.js index 4a85c78a4..0e63cad45 100644 --- a/routes/twitter/user.js +++ b/routes/twitter/user.js @@ -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}` })), }); }; \ No newline at end of file