blazor-starter icon indicating copy to clipboard operation
blazor-starter copied to clipboard

Cors issues

Open lazackna opened this issue 1 year ago • 0 comments

The client gives errors that cors doesn't allow the client and server(api) to be run on the same machine. The local.settings.example.json file which containts { "IsEncrypted": false, "Values": { "AzureWebJobsStorage": "", "FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated" }, "Host": { "LocalHttpPort": 7071, "CORS": "*", "CORSCredentials": false } }

Should be renamed to local.settings.json

This should fix the issue

lazackna avatar Feb 26 '24 15:02 lazackna