mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-12-27 06:35:39 +08:00
20 lines
760 B
JSON
20 lines
760 B
JSON
|
|
{
|
|||
|
|
"Logging": {
|
|||
|
|
"LogLevel": {
|
|||
|
|
"Default": "Debug"
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"AllowedHosts": "*",
|
|||
|
|
"DataProtection": "temp-keys/",
|
|||
|
|
"ConnectionStrings": {
|
|||
|
|
"OpenAuthDBContext": "Data Source=.;Initial Catalog=OpenAuthPro;User=sa;Password=000000"
|
|||
|
|
//"OpenAuthDBContext": "server=127.0.0.1;user id=root;database=openauthpro;password=000000" //my sql
|
|||
|
|
},
|
|||
|
|
"AppSetting": {
|
|||
|
|
"IdentityServerUrl": "", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
|||
|
|
// "IdentityServerUrl": "http://localhost:12796", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
|||
|
|
"DbType": "SqlServer", //数据库类型:SqlServer、MySql
|
|||
|
|
"UploadPath": "" //附件上传的路径,如果为空则保存在站点根目录
|
|||
|
|
}
|
|||
|
|
}
|