Skip to content

Commit 14d1159

Browse files
authored
docs: update API documentation of noProxy option (#173)
* fix: default value and API documentation of noProxy option * revert change on default value of noProxy
1 parent 2daa377 commit 14d1159

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,12 +361,13 @@ Maximum number of sockets to keep open during requests. Has no effect if
361361

362362
HTTP method to use for the outgoing request. Case-insensitive.
363363

364-
##### <a name="opts-noproxy"></a> `opts.noproxy`
364+
##### <a name="opts-noProxy"></a> `opts.noProxy`
365365

366-
* Type: Boolean
366+
* Type: String | String[]
367367
* Default: process.env.NOPROXY
368368

369-
If true, proxying will be disabled even if [`opts.proxy`](#opts-proxy) is used.
369+
If present, should be a comma-separated string or an array of domain extensions
370+
that a proxy should _not_ be used for.
370371

371372
##### <a name="opts-npmSession"></a> `opts.npmSession`
372373

0 commit comments

Comments
 (0)