cli helped
This commit is contained in:
parent
b6098c28a6
commit
5bbcf9cb29
4 changed files with 186 additions and 22 deletions
|
|
@ -92,6 +92,7 @@ namespace nuget_host.Controllers
|
|||
|
||||
if (!destdir.Exists) destdir.Create();
|
||||
source.MoveTo(path);
|
||||
logger.LogWarning($"200: {entry.Name}");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -104,12 +105,13 @@ namespace nuget_host.Controllers
|
|||
}
|
||||
else
|
||||
{
|
||||
logger.LogWarning("400");
|
||||
return new BadRequestObjectResult(ViewData);
|
||||
}
|
||||
return Ok(ViewData);
|
||||
}
|
||||
|
||||
[HttpGet("Packages/{spec}")]
|
||||
[HttpGet("packages/{spec}")]
|
||||
public IActionResult Index(string spec)
|
||||
{
|
||||
if (string.IsNullOrEmpty(spec))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue