Skip to content

Commit

Permalink
Change pathname for path (#26)
Browse files Browse the repository at this point in the history
Picked from 848cc72
  • Loading branch information
fhamon authored and nitriques committed Nov 22, 2017
1 parent 748d7cb commit ecfc627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/process.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ module.exports = (data, cb) => {
const httpOptions = {
hostname: parsedUrl.hostname,
port: parsedUrl.port || (parsedUrl.protocol === 'https:' ? 443 : 80),
path: parsedUrl.pathname || '/',
path: parsedUrl.path || '/',
method: 'GET',
auth: config.http && config.http.auth,
headers: config.http && config.http.headers
Expand Down

0 comments on commit ecfc627

Please sign in to comment.