[Server] Fix bug

This commit is contained in:
syuilo 2017-01-07 20:19:57 +09:00
parent 1af70a5930
commit 5ceb5b6a1f

View File

@ -10,7 +10,7 @@ module.exports = (req: express.Request, res: express.Response) => {
} }
request({ request({
url: _url + url.parse(req.url, true).search, url: _url + (url.parse(req.url, true).search || ''),
encoding: null encoding: null
}, (err, response, content) => { }, (err, response, content) => {
if (err) { if (err) {