From 5ceb5b6a1f52261397a2747f444385844f147420 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 7 Jan 2017 20:19:57 +0900 Subject: [PATCH] [Server] Fix bug --- 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 34c1deafa..97755a003 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) {