# Adds application settings to Azure.
#
# This script needs to be run before first publishing of the website to Azure or
# if any of the settings change.

param(
    [CmdletBinding(SupportsShouldProcess=$true)]
         
    [Parameter(Mandatory = $false)] 
    [string] $WebSiteName = "croquet-australia-api",
    [Parameter(Mandatory = $false)] 
    [string] $WebAppBaseUri = "https://croquet-australia-tournaments.azurewebsites.net/"
)

$appSettings = @{ ` 
    "WebApp:BaseUri" = $WebAppBaseUri;
}

Set-AzureWebsite -Name "$WebSiteName" -AppSettings $appSettings 
Add script to configure Azure
Add script to configure Azure
