mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: generate thumbnails for image file
This commit is contained in:
@@ -130,8 +130,6 @@ func GenericAfterUpload(ctx context.Context, fs *FileSystem) error {
|
||||
return ErrInsertFileRecord
|
||||
}
|
||||
|
||||
// TODO 是否需要立即获取图像大小?
|
||||
|
||||
// 异步尝试生成缩略图
|
||||
go fs.GenerateThumbnail(ctx, file)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user