Skip to content

Instantly share code, notes, and snippets.

@bcnzer
Created September 10, 2018 10:31
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bcnzer/afabdf0be17fed2174e0aaa2c10789e6 to your computer and use it in GitHub Desktop.
Save bcnzer/afabdf0be17fed2174e0aaa2c10789e6 to your computer and use it in GitHub Desktop.
Example local.settings.json file for an Azure Functions project which specifies the CORS setting locally, for debug/dev
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"AzureWebJobsDashboard": "UseDevelopmentStorage=true",
"FUNCTIONS_WORKER_RUNTIME": "dotnet"
},
"ConnectionStrings": {
"MyDb": "<my connection string>"
},
"Host": {
"CORS": "*"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment