change path to wwwroot
This commit is contained in:
parent
356fcba76a
commit
d3941a8454
1 changed files with 2 additions and 2 deletions
|
|
@ -3095,8 +3095,8 @@ namespace BMA.EHR.Command.Service.Controllers
|
|||
public async Task<ActionResult<ResponseObject>> DownloadAttachment(Guid docId)
|
||||
{
|
||||
var now = DateTime.Now.ToString("yyyyMMdd-HHmmss");
|
||||
var file = Path.Combine(_hostingEnvironment.ContentRootPath, "tmp", $"tmp-{now}.pdf");
|
||||
var file_copy = Path.Combine(_hostingEnvironment.ContentRootPath, "tmp", $"tmp-{now}-copy.pdf");
|
||||
var file = Path.Combine(_hostingEnvironment.WebRootPath, "tmp", $"tmp-{now}.pdf");
|
||||
var file_copy = Path.Combine(_hostingEnvironment.WebRootPath, "tmp", $"tmp-{now}-copy.pdf");
|
||||
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue