We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4bc037 commit 5fa45fbCopy full SHA for 5fa45fb
Labs/deploy/azuredeploy.bicep
@@ -330,6 +330,11 @@ resource appServiceFunction 'Microsoft.Web/sites@2022-03-01' = {
330
siteConfig: {
331
pythonVersion: appServiceSettings.api.pythonVersion
332
alwaysOn: true
333
+ cors: {
334
+ allowedOrigins: [
335
+ 'https://${appServiceWeb.properties.defaultHostName}'
336
+ ]
337
+ }
338
}
339
340
dependsOn: [
0 commit comments