25 lines
716 B
JSON
25 lines
716 B
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Jwt": {
|
|
"Issuer": "Avalonia-API",
|
|
"Audience": "Avalonia-Client",
|
|
"SigningKey": "change-this-development-signing-key-at-least-32-bytes",
|
|
"AccessTokenMinutes": 60,
|
|
"RefreshTokenDays": 30
|
|
},
|
|
"DatabaseConfiguration": {
|
|
"Provider": "MySQL",
|
|
"ConnectionString": "Server=127.0.0.1;Port=3306;Database=avalonia-api;Uid=root;Pwd=123456;Max Pool Size=100;Min Pool Size=5;AllowZeroDateTime=True;AllowLoadLocalInfile=true;SslMode=Required",
|
|
"AutoMigrate": true,
|
|
"RecreateDatabase": false,
|
|
"EnableDetailedLog": false,
|
|
"Timeout": 30
|
|
}
|
|
}
|