Browse Source

Add the Blazor UI to the cors.

pull/5431/head
Halil İbrahim Kalkan 6 years ago
parent
commit
74d993fb53
  1. 2
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.Host/appsettings.json

2
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.Host/appsettings.json

@ -1,6 +1,6 @@
{
"App": {
"CorsOrigins": "https://*.MyProjectName.com,http://localhost:4200"
"CorsOrigins": "https://*.MyProjectName.com,http://localhost:4200,https://localhost:44307"
},
"ConnectionStrings": {
"Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=MyProjectName;Trusted_Connection=True;MultipleActiveResultSets=true"

Loading…
Cancel
Save