Skip to content

Commit

Permalink
Add new property for CORS settings (#6478)
Browse files Browse the repository at this point in the history
  • Loading branch information
juniwang authored and Juliehzl committed Jul 26, 2019
1 parent 17b19b8 commit a2208da
Show file tree
Hide file tree
Showing 13 changed files with 79 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@
"value": "Serverless",
"properties": {}
}
]
],
"cors": {
"allowedOrigins": [
"https://foo.com",
"https://bar.com"
]
}
}
},
"api-version": "2018-10-01",
Expand Down Expand Up @@ -49,7 +55,13 @@
"value": "Serverless",
"properties": {}
}
]
],
"cors": {
"allowedOrigins": [
"https://foo.com",
"https://bar.com"
]
}
},
"location": "eastus",
"tags": {
Expand All @@ -69,4 +81,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
},
"204": {}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@
"value": "Serverless",
"properties": {}
}
]
],
"cors": {
"allowedOrigins": [
"https://foo.com",
"https://bar.com"
]
}
},
"location": "eastus",
"tags": {
Expand All @@ -40,4 +46,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@
"value": "Serverless",
"properties": {}
}
]
],
"cors": {
"allowedOrigins": [
"https://foo.com",
"https://bar.com"
]
}
},
"location": "eastus",
"tags": {
Expand All @@ -43,4 +49,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@
"value": "Serverless",
"properties": {}
}
]
],
"cors": {
"allowedOrigins": [
"https://foo.com",
"https://bar.com"
]
}
},
"location": "eastus",
"tags": {
Expand All @@ -42,4 +48,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
},
"204": {}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@
"value": "Serverless",
"properties": {}
}
]
],
"cors": {
"allowedOrigins": [
"https://foo.com",
"https://bar.com"
]
}
}
},
"api-version": "2018-10-01",
Expand Down Expand Up @@ -48,7 +54,13 @@
"value": "Serverless",
"properties": {}
}
]
],
"cors": {
"allowedOrigins": [
"https://foo.com",
"https://bar.com"
]
}
},
"location": "eastus",
"tags": {
Expand All @@ -65,4 +77,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,10 @@
"items": {
"$ref": "#/definitions/SignalRFeature"
}
},
"cors": {
"$ref": "#/definitions/SignalRCorsSettings",
"description": "Cross-Origin Resource Sharing (CORS) settings."
}
}
},
Expand Down Expand Up @@ -930,6 +934,19 @@
}
}
},
"SignalRCorsSettings": {
"description": "Cross-Origin Resource Sharing (CORS) settings.",
"type": "object",
"properties": {
"allowedOrigins": {
"description": "Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use \"*\" to allow all. If omitted, allow all by default.",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"SignalRKeys": {
"description": "A class represents the access keys of SignalR service.",
"type": "object",
Expand Down Expand Up @@ -1120,4 +1137,4 @@
]
}
]
}
}

0 comments on commit a2208da

Please sign in to comment.