mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 18:07:31 -07:00
[Server] Fix bug
This commit is contained in:
parent
81bd31bfbf
commit
cbbbdc68a8
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue