I've been reading APIM and I've spotted CORS support there, but can't see it for the actual function app. Please can it be added so I don't have to call out to the az cli tool?
Currently my first time flow using purely cli tooling would be something like:
Deploy sls deploy
Clear out default CORS az functionapp cors remove -g "(resource-group)" -n "(function-app-name)" --allowed-origins
Update CORS az functionapp cors add -g "(resource group)" -n "(function-app-name)" --allowed-origins "*"
I've been reading APIM and I've spotted CORS support there, but can't see it for the actual function app. Please can it be added so I don't have to call out to the
az
cli tool?Currently my first time flow using purely cli tooling would be something like:
sls deploy
az functionapp cors remove -g "(resource-group)" -n "(function-app-name)" --allowed-origins
az functionapp cors add -g "(resource group)" -n "(function-app-name)" --allowed-origins "*"