From 2801176deac4ac6d42e4ad7f949e945a65f5cb6b Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 7 Jan 2017 20:22:08 +0900 Subject: [PATCH] Revert --- src/web/service/proxy/proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/service/proxy/proxy.ts b/src/web/service/proxy/proxy.ts index 7a1a92fef2..8a45f08530 100644 --- a/src/web/service/proxy/proxy.ts +++ b/src/web/service/proxy/proxy.ts @@ -10,7 +10,7 @@ module.exports = (req: express.Request, res: express.Response) => { } request({ - url: url + (URL.parse(req.url, true).search || ''), + url: url + URL.parse(req.url, true).search, encoding: null }, (err, response, content) => { if (err) {