| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 975edf5 commit 760cafa
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1169,7 +1169,7 @@ expected by the [`http.request()`][] and [`https.request()`][] APIs. | |||
| 1169 | 1169 | import { urlToHttpOptions } from 'url'; | |
| 1170 | 1170 | const myURL = new URL('https://a:b@測試?abc#foo'); | |
| 1171 | 1171 | ||
| 1172 | - console.log(urlToHttpOptions(myUrl)); | ||
| 1172 | + console.log(urlToHttpOptions(myURL)); | ||
| 1173 | 1173 | /** | |
| 1174 | 1174 | { | |
| 1175 | 1175 | protocol: 'https:', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments