Skip to content
Snippets Groups Projects
Unverified Commit 2becc7d1 authored by mueller-ma's avatar mueller-ma Committed by GitHub
Browse files

docs(nuget): update configuration of registry urls to avoid warnings (#33700)

parent 35332625
No related branches found
No related tags found
No related merge requests found
......@@ -47,13 +47,16 @@ You can set alternative feeds:
```json
{
"nuget": {
"registryUrls": [
"https://api.nuget.org/v3/index.json",
"https://example1.com/nuget/",
"https://example2.com/nuget/v3/index.json"
]
}
"packageRules": [
{
"matchDatasources": ["nuget"],
"registryUrls": [
"https://api.nuget.org/v3/index.json",
"https://example1.com/nuget/",
"https://example2.com/nuget/v3/index.json"
]
}
]
}
```
......@@ -93,9 +96,12 @@ If a `v3` feed URL does not end with `index.json`, you must specify the version
```json
{
"nuget": {
"registryUrls": ["http://myV3feed#protocolVersion=3"]
}
"packageRules": [
{
"matchDatasources": ["nuget"],
"registryUrls": ["https://example1.com/nuget/#protocolVersion=3"]
}
]
}
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment