Browse Source

Added CORS

pull/5399/head
Halil İbrahim Kalkan 6 years ago
parent
commit
7b04551540
  1. 2
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.HostWithIds/appsettings.json

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

@ -1,7 +1,7 @@
{
"App": {
"SelfUrl": "https://localhost:44305",
"CorsOrigins": "https://*.MyProjectName.com,http://localhost:4200"
"CorsOrigins": "https://*.MyProjectName.com,http://localhost:4200,https://localhost:44319"
},
"ConnectionStrings": {
"Default": "Server=localhost;Database=MyProjectName_Free;Trusted_Connection=True;MultipleActiveResultSets=true"

Loading…
Cancel
Save