| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1170,9 +1170,9 @@ function urlToHttpOptions(url) { | |||
| 1170 | 1170 | __proto__: null, | |
| 1171 | 1171 | ...url, // In case the url object was extended by the user. | |
| 1172 | 1172 | protocol: url.protocol, | |
| 1173 | - hostname: url.hostname && StringPrototypeStartsWith(url.hostname, '[') ? | ||
| 1174 | - StringPrototypeSlice(url.hostname, 1, -1) : | ||
| 1175 | - url.hostname, | ||
| 1173 | + hostname: hostname && StringPrototypeStartsWith(hostname, '[') ? | ||
| 1174 | + StringPrototypeSlice(hostname, 1, -1) : | ||
| 1175 | + hostname, | ||
| 1176 | 1176 | hash: url.hash, | |
| 1177 | 1177 | search: search, | |
| 1178 | 1178 | pathname: pathname, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments