HTTPリクエストのKeep-AliveとPrxoy対応など (#5226)

* DriveのKeep-Alive, Proxy と APのProxy対応

* request系でKeep-Aliveするように

* fix lookup-dns-cache.d.ts

* remove debug output
This commit is contained in:
MeiMei
2019-07-28 09:49:02 +09:00
committed by syuilo
parent 831ca53b63
commit 14736620ec
11 changed files with 151 additions and 176 deletions

View File

@ -22,6 +22,7 @@ module.exports = async (ctx: Koa.BaseContext) => {
url: ctx.query.url,
lang: ctx.query.lang || 'ja-JP'
},
forever: true,
json: true
}) : await summaly(ctx.query.url, {
followRedirects: false,