mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-03-13 09:58:07 -04:00
adds warning to avoid superfluous https: prefix when using npm registry
This commit is contained in:
parent
0ed1f6d471
commit
ade42a313d
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ npm config set {scope}:registry https://forgejo.example.com/api/packages/{owner}
|
|||
npm config set -- '//forgejo.example.com/api/packages/{owner}/npm/:_authToken' "{token}"
|
||||
```
|
||||
|
||||
**NOTE:** in the example below (`npm config set -- '//forgejo...`) the leading scheme, `https:`, is intentionally missing. It must not be included. The following is **incorrect**: `npm config set -- 'https://forgejo...`
|
||||
|
||||
| Parameter | Description |
|
||||
| --------- | -------------------------------------------------------------- |
|
||||
| `scope` | The scope of the packages. |
|
||||
|
|
Loading…
Add table
Reference in a new issue