fix:修复webdav上传图片时无缩略图问题

This commit is contained in:
ellermister 2021-03-03 04:03:33 +08:00
parent fc5c67cc20
commit 155a516f70

View file

@ -321,6 +321,7 @@ func GenericAfterUpload(ctx context.Context, fs *FileSystem) error {
fs.recycleLock.Lock()
go func() {
defer fs.recycleLock.Unlock()
file.Name = strings.Trim(file.Name, ".tacitpart")
fs.GenerateThumbnail(ctx, file)
}()
}