Skip to content

Commit

Permalink
added client app url into an app setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory Fowler committed Apr 22, 2015
1 parent fe045d2 commit c8bf059
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,25 +149,23 @@
"[concat('Microsoft.Web/sites/', parameters('siteName'), '-api')]"
],
"properties": {
"appSettings": [
{
"name": "apiPath",
"value": "[concat(parameters('siteName'), '.azurewebsites.net')]"
}
],
"connectionStrings": [
{
"Name": "DefaultConnectionString",
"ConnectionString": "[concat('Data Source=tcp:', reference(concat('Microsoft.Sql/servers/', parameters('sqlServerName'))).fullyQualifiedDomainName, ',1433;Initial Catalog=', parameters('sqlDbName'), ';User Id=', parameters('sqlServerAdminLogin'), '@', parameters('sqlServerName'), ';Password=', parameters('sqlServerAdminPassword'), ';')]",
"Type": 2
"ConnectionString": "[concat('Data Source=tcp:', reference(concat('Microsoft.Sql/servers/', parameters('sqlServerName'))).fullyQualifiedDomainName, ',1433;Initial Catalog=', parameters('sqlDbName'), ';User Id=', parameters('sqlServerAdminLogin'), '@', parameters('sqlServerName'), ';Password=', parameters('sqlServerAdminPassword'), ';')]",
"Type": 2
}
],
"appSettings" : [
{
"name": "PROJECT",
"value": "src\\MultiChannelToDo\\MultiChannelToDo.csproj"
}
]
"appSettings" : [
{
"name": "PROJECT",
"value": "src\\MultiChannelToDo\\MultiChannelToDo.csproj"
},
{
"name": "clientUrl",
"value": "[concat(parameters('siteName'), '.azurewebsites.net')]"
}
]
}
},
{
Expand Down

0 comments on commit c8bf059

Please sign in to comment.