From 809fa335b4bbfdecbda634f0057bebc38d351975 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Tue, 1 Jun 2021 21:11:16 +0200 Subject: [PATCH] docs: put trailing slash behind matchHost URL (#10167) --- docs/usage/private-npm-modules.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/usage/private-npm-modules.md b/docs/usage/private-npm-modules.md index 3eff4152c1..013128823a 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 -- GitLab