跨域设置

This commit is contained in:
Jimmy 2020-12-23 00:36:41 +08:00
parent 814adb1979
commit 4935fe9615
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback>

View File

@ -5,7 +5,7 @@
"App": {
"ServerRootAddress": "http://localhost:21021/",
"ClientRootAddress": "http://localhost:4200/",
"CorsOrigins": "http://localhost:4200,http://localhost:8080,http://localhost:8081,http://localhost:3000"
"CorsOrigins": "http://localhost:4200,http://localhost:8080,http://localhost:880,http://localhost:3000"
},
"Authentication": {
"JwtBearer": {