From a962e37a9c1848a52b662c02d39da89b3641160e 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 7a1a92fef..8a45f0853 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) {