CorsStudy/CorsServer/CorsServer.WebApi31/appsettings.json

20 lines
411 B
JSON

{
"urls": "http://*:7050",
"CorsOption": {
"Origins": ["*"],
"Methods": [ "*" ],
"Headers": [ "*" ],
"AllowCredentials": false,
"ExposedHeaders": [ "x-custom-error" ],
"PreflightMaxAge": "00:20:30"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}