From a01607fd97b7e9bfebed2cd2fefd0099a5c55e62 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Fri, 18 May 2018 12:21:53 +0900
Subject: [PATCH] :v:

---
 src/server/web/url-preview.ts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/server/web/url-preview.ts b/src/server/web/url-preview.ts
index 8cc6f0316..99ee2eaeb 100644
--- a/src/server/web/url-preview.ts
+++ b/src/server/web/url-preview.ts
@@ -3,7 +3,9 @@ import summaly from 'summaly';
 
 module.exports = async (ctx: Koa.Context) => {
 	try {
-		const summary = await summaly(ctx.query.url);
+		const summary = await summaly(ctx.query.url, {
+			followRedirects: false
+		});
 		summary.icon = wrap(summary.icon);
 		summary.thumbnail = wrap(summary.thumbnail);