From 7ba151d4230dec7634065a33b178f0e3b799597f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=89=E5=87=89?= Date: Tue, 23 Oct 2018 23:57:15 +0800 Subject: [PATCH] =?UTF-8?q?Hotfix:=20=20=E4=BF=AE=E5=A4=8D=20twitter=20?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E5=86=85=E5=AE=B9=E4=B8=BA=E7=A9=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#941)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复 #805 - 手头没有 twitter 的那些 key,暂时没去验证(逃 --- 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 bc1409507..15367b071 100644 --- a/routes/twitter/user.js +++ b/routes/twitter/user.js @@ -27,7 +27,7 @@ module.exports = async (ctx) => { }); let url = ''; item.entities.urls.forEach((u) => { - url += ``; + url += `${u.expanded_url}`; }); return { title: `${item.in_reply_to_screen_name ? 'Re ' : ''}${item.full_text}`,