测试
This commit is contained in:
@@ -42,6 +42,12 @@ namespace IRaCIS.Core.API
|
||||
Directory.CreateDirectory(uploadPath);
|
||||
}
|
||||
|
||||
app.UseStaticFiles(new StaticFileOptions
|
||||
{
|
||||
FileProvider = new PhysicalFileProvider(uploadPath),
|
||||
RequestPath = $"/{StaticData.UploadFileFolder}"
|
||||
});
|
||||
|
||||
//if (!Directory.Exists(dicomPath))
|
||||
//{
|
||||
// Directory.CreateDirectory(dicomPath);
|
||||
@@ -52,11 +58,7 @@ namespace IRaCIS.Core.API
|
||||
// Directory.CreateDirectory(systemDataFolder);
|
||||
//}
|
||||
|
||||
//app.UseStaticFiles(new StaticFileOptions
|
||||
//{
|
||||
// FileProvider = new PhysicalFileProvider(uploadPath),
|
||||
// RequestPath = $"/{StaticData.UploadFileFolder}"
|
||||
//});
|
||||
|
||||
|
||||
|
||||
//app.UseStaticFiles(new StaticFileOptions
|
||||
|
||||
Reference in New Issue
Block a user