Uat_Study
parent
541d2ab34c
commit
ae70c7f69b
|
@ -42,6 +42,12 @@ namespace IRaCIS.Core.API
|
||||||
Directory.CreateDirectory(uploadPath);
|
Directory.CreateDirectory(uploadPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
app.UseStaticFiles(new StaticFileOptions
|
||||||
|
{
|
||||||
|
FileProvider = new PhysicalFileProvider(uploadPath),
|
||||||
|
RequestPath = $"/{StaticData.UploadFileFolder}"
|
||||||
|
});
|
||||||
|
|
||||||
//if (!Directory.Exists(dicomPath))
|
//if (!Directory.Exists(dicomPath))
|
||||||
//{
|
//{
|
||||||
// Directory.CreateDirectory(dicomPath);
|
// Directory.CreateDirectory(dicomPath);
|
||||||
|
@ -52,11 +58,7 @@ namespace IRaCIS.Core.API
|
||||||
// Directory.CreateDirectory(systemDataFolder);
|
// Directory.CreateDirectory(systemDataFolder);
|
||||||
//}
|
//}
|
||||||
|
|
||||||
//app.UseStaticFiles(new StaticFileOptions
|
|
||||||
//{
|
|
||||||
// FileProvider = new PhysicalFileProvider(uploadPath),
|
|
||||||
// RequestPath = $"/{StaticData.UploadFileFolder}"
|
|
||||||
//});
|
|
||||||
|
|
||||||
|
|
||||||
//app.UseStaticFiles(new StaticFileOptions
|
//app.UseStaticFiles(new StaticFileOptions
|
||||||
|
|
Loading…
Reference in New Issue