FileShare/FileShare-API/appsettings.json

34 lines
797 B
JSON
Raw Normal View History

2026-05-21 15:52:36 +08:00
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"Server": {
"HttpPort": 5206,
"HttpsPort": 7165
},
2026-05-21 15:52:36 +08:00
"Jwt": {
2026-05-22 14:29:22 +08:00
"Issuer": "FileShare-API",
"Audience": "FileShare-Client",
2026-05-21 15:52:36 +08:00
"SigningKey": "change-this-development-signing-key-at-least-32-bytes",
"AccessTokenMinutes": 60,
"RefreshTokenDays": 30
},
"DatabaseConfiguration": {
"Provider": "SQLite",
"ConnectionString": "Data Source=app.db",
2026-05-21 15:52:36 +08:00
"AutoMigrate": true,
"RecreateDatabase": false,
"EnableDetailedLog": false,
"Timeout": 30
},
"ThumbnailStorageOptions": {
"RootPath": "thumbnails",
"FfmpegPath": "tools/ffmpeg/bin/ffmpeg.exe",
"FfprobePath": "tools/ffmpeg/bin/ffprobe.exe"
2026-05-21 15:52:36 +08:00
}
}