- 为文件库的定时轮询及根目录扫描过程,新增扫描生命周期日志 - 允许通过 `appsettings` 配置文件,自定义定时扫描的轮询间隔 - 当检测到媒体文件已被删除时,自动清理过期的缩略图映射记录及对应的缩略图文件
37 lines
864 B
JSON
37 lines
864 B
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Server": {
|
|
"HttpPort": 5206,
|
|
"HttpsPort": 7165
|
|
},
|
|
"Jwt": {
|
|
"Issuer": "FileShare-API",
|
|
"Audience": "FileShare-Client",
|
|
"SigningKey": "change-this-development-signing-key-at-least-32-bytes",
|
|
"AccessTokenMinutes": 60,
|
|
"RefreshTokenDays": 30
|
|
},
|
|
"DatabaseConfiguration": {
|
|
"Provider": "SQLite",
|
|
"ConnectionString": "Data Source=app.db",
|
|
"AutoMigrate": true,
|
|
"RecreateDatabase": false,
|
|
"EnableDetailedLog": false,
|
|
"Timeout": 30
|
|
},
|
|
"ThumbnailStorageOptions": {
|
|
"RootPath": "thumbnails",
|
|
"FfmpegPath": "tools/ffmpeg/bin/ffmpeg.exe",
|
|
"FfprobePath": "tools/ffmpeg/bin/ffprobe.exe"
|
|
},
|
|
"FileLibraryScanOptions": {
|
|
"PollingIntervalMinutes": 5
|
|
}
|
|
}
|