Skip to content

Commit

Permalink
Merge pull request #3 from frontapp/patch-for-node-14
Browse files Browse the repository at this point in the history
Add rejection to `'aborted'` http hook
  • Loading branch information
Brandon Kiefer authored Apr 28, 2022
2 parents 819e8cb + 9a44c26 commit 8a1c94a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/steps/sendProxyRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ function sendProxyRequest(Container) {
}

req.on('aborted', function() {
// reject?
proxyReq.abort();
reject();
});
});
}
Expand Down

0 comments on commit 8a1c94a

Please sign in to comment.