Uat_Study
hang 2022-05-19 17:37:26 +08:00
parent a82575710f
commit 04a24ea438
1 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ namespace IRaCIS.Core.Application.Contracts
//_logger.LogError(_fileStorePath);
var storePreviewPath = _fileStorePath + ".preview.jpeg";
var storePreviewPath = _fileStorePath + ".preview.jpg";
//if (!File.Exists(storePreviewPath))
//{
@ -240,7 +240,7 @@ namespace IRaCIS.Core.Application.Contracts
}
//}
return new FileContentResult(await File.ReadAllBytesAsync(storePreviewPath), "image/jpeg");
return new FileContentResult(await File.ReadAllBytesAsync(storePreviewPath), "image/jpg");
}