Skip to content

Commit c16bd7d

Browse files
authored
Merge pull request #107 from postmanlabs/feature/fix-unix-domain-socket-detection
fix: unix domain socket detection
2 parents 2cd9be2 + 8503f20 commit c16bd7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ Request.prototype.init = function (options) {
378378
}
379379

380380
// Support Unix Sockets
381-
if (self.uri.host === 'unix') {
381+
if (self.uri.host === 'unix' || self.uri.host === 'unix:') {
382382
self.enableUnixSocket()
383383
}
384384

0 commit comments

Comments
 (0)