Skip to content

Commit

Permalink
Rename disableCORS to enableCORS
Browse files Browse the repository at this point in the history
This describes the parameter better
  • Loading branch information
mikemonteith committed Apr 6, 2020
1 parent df5749b commit 5e81f76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AzureResourceGroup/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"hostingPlanSkuName": {
"type": "String"
},
"disableCORS": {
"enableCORS": {
"type": "Bool"
},
"buildTag": {
Expand Down Expand Up @@ -107,7 +107,7 @@
],
"cors": {
"allowedOrigins": [
"[if(parameters('disableCORS'), '*', 'https://www.nhs.uk')]"
"[if(parameters('enableCORS'), '*', 'https://www.nhs.uk')]"
]
}
},
Expand Down

0 comments on commit 5e81f76

Please sign in to comment.