Skip to content

Commit

Permalink
Fix CORS configuration by adding protocol to static site endpoint in …
Browse files Browse the repository at this point in the history
…Azure Functions Bicep file
  • Loading branch information
Raj committed Jan 7, 2025
1 parent a2f73ed commit 60daae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/bicep/azurefunctions.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ resource functionApp 'Microsoft.Web/sites@2024-04-01' = {
]
cors: {
allowedOrigins: [
staticSiteEndpoint
'https://${staticSiteEndpoint}'
]
}
numberOfWorkers: 1
Expand Down

0 comments on commit 60daae5

Please sign in to comment.