diff --git a/docs/usage/private-npm-modules.md b/docs/usage/private-npm-modules.md index 3eff4152c1602739f723c786c6bd3207a7d54963..013128823a2b85352e580245fb05652168f4cbfc 100644 --- a/docs/usage/private-npm-modules.md +++ b/docs/usage/private-npm-modules.md @@ -69,7 +69,7 @@ module.exports = { // https://www.jfrog.com/confluence/display/JFROG/npm+Registry // Will be passed as `//artifactory.my-company.com/artifactory/api/npm/npm:_auth=<TOKEN>` to `.npmrc` hostType: 'npm', - matchHost: 'https://artifactory.my-company.com/artifactory/api/npm/npm', + matchHost: 'https://artifactory.my-company.com/artifactory/api/npm/npm/', token: process.env.ARTIFACTORY_NPM_TOKEN, authType: 'Basic', }, @@ -77,6 +77,8 @@ module.exports = { }; ``` +**NOTE:** Remember to put a trailing slash at the end of your `matchHost` URL. + **NOTE:** Do not use `NPM_TOKEN` as an environment variable. ### Add npmrc string to Renovate config