diff --git a/src/web/service/proxy/proxy.ts b/src/web/service/proxy/proxy.ts index 34c1deafad..97755a0037 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) {