Skip to content
Snippets Groups Projects
Commit 5ceb5b6a authored by syuilo's avatar syuilo
Browse files

[Server] Fix bug

parent 1af70a59
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment