forked from teilmeier/azure-functions-npmproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proxies.json
39 lines (39 loc) · 1.02 KB
/
proxies.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"$schema": "http://json.schemastore.org/proxies",
"proxies": {
"searchApi": {
"matchCondition": {
"methods": [
"GET"
],
"route": "/npm/{organization}/{project}/{feedId}/registry/-/v1/search"
},
"backendUri": "https://localhost/api/{organization}/{project}/{feedId}/search"
},
"allApi": {
"matchCondition": {
"methods": [
"GET"
],
"route": "/npm/{organization}/{project}/{feedId}/registry/-/all"
},
"backendUri": "https://localhost/api/{organization}/{project}/{feedId}/search"
},
"azureDevOpsProxy": {
"matchCondition": {
"methods": [
"GET",
"POST",
"DELETE",
"HEAD",
"PATCH",
"PUT",
"OPTIONS",
"TRACE"
],
"route": "/npm/{organization}/{project}/{feedId}/{*restOfPath}"
},
"backendUri": "https://pkgs.dev.azure.com/{organization}/{project}/_packaging/{feedId}/npm/{restOfPath}"
}
}
}