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) {