diff --git a/Bootstrap.Admin/appsettings.Development.json b/Bootstrap.Admin/appsettings.Development.json index 8fa7820c..4cc5b29a 100644 --- a/Bootstrap.Admin/appsettings.Development.json +++ b/Bootstrap.Admin/appsettings.Development.json @@ -15,9 +15,9 @@ "MaxFileCount": 1 } }, + "AllowOrigins": "http://localhost:49823", "KeyPath": "..\\keys", "DisableAutomaticKeyGeneration": false, - "AllowOrigins": "http://localhost:49823", "KeepExceptionsPeriod": 1, "KeepLogsPeriod": 1, "LongbowCache": { diff --git a/Bootstrap.Admin/appsettings.json b/Bootstrap.Admin/appsettings.json index db27a987..65aa8c43 100644 --- a/Bootstrap.Admin/appsettings.json +++ b/Bootstrap.Admin/appsettings.json @@ -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, diff --git a/Bootstrap.Client/appsettings.Development.json b/Bootstrap.Client/appsettings.Development.json index 90e38dc3..0e52513f 100644 --- a/Bootstrap.Client/appsettings.Development.json +++ b/Bootstrap.Client/appsettings.Development.json @@ -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" } diff --git a/Bootstrap.Client/appsettings.json b/Bootstrap.Client/appsettings.json index 81727475..e41b1791 100644 --- a/Bootstrap.Client/appsettings.json +++ b/Bootstrap.Client/appsettings.json @@ -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": [