添加项目文件。
This commit is contained in:
21
appsettings.json
Normal file
21
appsettings.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
|
||||
"ConnectionStrings": {
|
||||
"PostgresConnection": "Host=localhost;Port=5555;Database=webapp;Username=postgres;Password=123456"
|
||||
},
|
||||
"Jwt": {
|
||||
"Key": "YourSuperSecretKeyForJwtTokenGeneration2024!@#$%^&*()",
|
||||
"Issuer": "SignalRChat",
|
||||
"Audience": "SignalRChatUsers",
|
||||
"AccessTokenExpirationMinutes": 5,
|
||||
"RefreshTokenExpirationDays": 60
|
||||
},
|
||||
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
Reference in New Issue
Block a user