添加项目文件。

This commit is contained in:
heiye111
2026-05-19 21:55:48 +08:00
parent 4dfb6cd5ae
commit b3e57cd13c
24 changed files with 3074 additions and 0 deletions

21
appsettings.json Normal file
View 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": "*"
}