更新配置:移除appsettings.json配置文件中的不使用的配置项

This commit is contained in:
Argo-MacBookPro 2018-10-18 11:14:32 +08:00
parent b5b4fc5fd3
commit e7d94c3977
4 changed files with 9 additions and 46 deletions

View File

@ -15,9 +15,9 @@
"MaxFileCount": 1
}
},
"AllowOrigins": "http://localhost:49823",
"KeyPath": "..\\keys",
"DisableAutomaticKeyGeneration": false,
"AllowOrigins": "http://localhost:49823",
"KeepExceptionsPeriod": 1,
"KeepLogsPeriod": 1,
"LongbowCache": {

View File

@ -15,6 +15,11 @@
"ConnectionStrings": {
"ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa"
},
"AllowOrigins": "http://localhost,http://10.15.63.218",
"KeyPath": "D:\\App\\Web-App\\keys",
"ApplicationName": "__bd__",
"ApplicationDiscriminator": "BootstrapAdmin",
"DisableAutomaticKeyGeneration": false,
"TokenValidateOption": {
"Issuer": "BA",
"Audience": "api",
@ -22,11 +27,6 @@
"SecurityKey": "BootstrapAdmin-V1.1"
},
"BAAuthorizateScheme": "Role",
"ApplicationName": "__bd__",
"ApplicationDiscriminator": "BootstrapAdmin",
"KeyPath": "D:\\App\\Web-App\\keys",
"DisableAutomaticKeyGeneration": false,
"AllowOrigins": "http://localhost,http://10.15.63.218",
"KeepExceptionsPeriod": 12,
"KeepLogsPeriod": 12,
"CookieExpiresDays": 7,

View File

@ -19,27 +19,6 @@
"ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa"
},
"AuthHost": "http://localhost:50852",
"KeyPath": "..\\keys",
"DisableAutomaticKeyGeneration": true,
"AllowOrigins": "http://localhost:50852",
"KeepExceptionsPeriod": 1,
"KeepLogsPeriod": 1,
"LongbowCache": {
"CorsItems": [
{
"Enabled": false,
"Name": "ba",
"Url": "http://localhost:50852/CacheList.axd",
"Desc": "后台管理数据缓存接口",
"Self": true
},
{
"Enabled": false,
"Name": "AppName",
"Url": "http://localhost/WebConsole/CacheList.axd",
"Desc": "自定义系统",
"Self": false
}
]
}
"KeyPath": "..\\keys"
}

View File

@ -18,20 +18,11 @@
},
"AppId": 4,
"AuthHost": "http://localhost:50852",
"TokenValidateOption": {
"Issuer": "BA",
"Audience": "api",
"Expires": 5,
"SecurityKey": "BootstrapAdmin-V1.1"
},
"TokenValidateAuthorizateOption": "Role",
"AllowOrigins": "http://localhost,http://10.15.63.218",
"KeyPath": "D:\\App\\Web-App\\keys",
"ApplicationName": "__bd__",
"ApplicationDiscriminator": "BootstrapAdmin",
"KeyPath": "D:\\App\\Web-App\\keys",
"DisableAutomaticKeyGeneration": true,
"AllowOrigins": "http://localhost,http://10.15.63.218",
"KeepExceptionsPeriod": 12,
"KeepLogsPeriod": 12,
"LongbowCache": {
"Enabled": true,
"CorsItems": [
@ -41,13 +32,6 @@
"Url": "CacheList.axd",
"Desc": "自定义系统",
"Self": true
},
{
"Enabled": true,
"Name": "ba",
"Url": "http://localhost:8000/BA/CacheList.axd",
"Desc": "后台管理数据缓存接口",
"Self": false
}
],
"CacheItems": [