-
Hello, uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:
'@mycompany/*':
access: $all
publish: $all
unpublish: $all
'*':
proxy: npmjs
log: {type: stdout, format: pretty, level: debug} It runs on a VPN, so I allow everyone to publish everything under However this didn’t work: $ curl -I https://registry.npmjs.org/string-width
HTTP/2 200
...
$ curl -I https://myregistry.example.xx/string-width
HTTP/2 401
... Turns out that I needed to add an '*':
proxy: npmjs
access: $all # <------ However this is not documented; the default config doesn’t have an My
The server logs:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks for the feedback. The default config is correct, but the documentation is out of date. I updated the docs #5371 |
Beta Was this translation helpful? Give feedback.
Thanks for the feedback. The default config is correct, but the documentation is out of date. I updated the docs #5371