fix: Ensure search parameters are included in URL path (#759)
* fix search params missing from url path * fix search params missing from url path * Trigger travis ci Co-authored-by: Antoni Kepinski <xxczaki@pm.me>
This commit is contained in:
parent
b1bd179891
commit
33532c29e0
|
@ -260,7 +260,7 @@ export function getNodeRequestOptions(request) {
|
|||
|
||||
// manually spread the URL object instead of spread syntax
|
||||
const requestOptions = {
|
||||
path: parsedURL.pathname,
|
||||
path: parsedURL.pathname + parsedURL.search,
|
||||
pathname: parsedURL.pathname,
|
||||
hostname: parsedURL.hostname,
|
||||
protocol: parsedURL.protocol,
|
||||
|
|
Loading…
Reference in New Issue