Skip to content

Commit 70a39aa

Browse files
authored
fix(docs): update registry param (#52)
`registry` no longer affects auth across domains
1 parent 359904c commit 70a39aa

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -516,10 +516,7 @@ If the request URI already has a query string, it will be merged with
516516
* Default: `'https://registry.npmjs.org'`
517517

518518
Registry configuration for a request. If a request URL only includes the URL
519-
path, this registry setting will be prepended. This configuration is also used
520-
to determine authentication details, so even if the request URL references a
521-
completely different host, `opts.registry` will be used to find the auth details
522-
for that request.
519+
path, this registry setting will be prepended.
523520

524521
See also [`opts.scope`](#opts-scope), [`opts.spec`](#opts-spec), and
525522
[`opts.<scope>:registry`](#opts-scope-registry) which can all affect the actual

0 commit comments

Comments
 (0)