We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2b79ca commit 9032ebbCopy full SHA for 9032ebb
lib/index.js
@@ -42,7 +42,7 @@ function parsePath(url) {
42
output.protocols = protocols(parsed)
43
output.protocol = output.protocols[0]
44
output.port = parsed.port
45
- output.resource = parsed.host
+ output.resource = parsed.hostname
46
output.user = parsed.username || ""
47
output.password = parsed.password || ""
48
output.pathname = parsed.pathname
0 commit comments