Skip to content

Commit 5fa45fb

Browse files
committed
Update azuredeploy.bicep
1 parent a4bc037 commit 5fa45fb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Labs/deploy/azuredeploy.bicep

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,11 @@ resource appServiceFunction 'Microsoft.Web/sites@2022-03-01' = {
330330
siteConfig: {
331331
pythonVersion: appServiceSettings.api.pythonVersion
332332
alwaysOn: true
333+
cors: {
334+
allowedOrigins: [
335+
'https://${appServiceWeb.properties.defaultHostName}'
336+
]
337+
}
333338
}
334339
}
335340
dependsOn: [

0 commit comments

Comments
 (0)