From 979d01ec0f502a78f196b0196acc5712793bc27d Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 24 Nov 2018 06:41:22 +0900 Subject: [PATCH] Update url-preview.ts --- src/server/web/url-preview.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/server/web/url-preview.ts b/src/server/web/url-preview.ts index 7be9a7576..86ae3fa0a 100644 --- a/src/server/web/url-preview.ts +++ b/src/server/web/url-preview.ts @@ -1,7 +1,6 @@ import * as Koa from 'koa'; import * as request from 'request-promise-native'; import summaly from 'summaly'; -import config from '../../config'; import fetchMeta from '../../misc/fetch-meta'; module.exports = async (ctx: Koa.Context) => { @@ -10,7 +9,6 @@ module.exports = async (ctx: Koa.Context) => { try { const summary = meta.summalyProxy ? await request.get({ url: meta.summalyProxy, - proxy: config.proxy, qs: { url: ctx.query.url },