..
This commit is contained in:
@@ -186,11 +186,11 @@ namespace VNCServerList.Web.Controllers
|
||||
|
||||
[HttpPost]
|
||||
[Route("set-vnc-path")]
|
||||
public IHttpActionResult SetVNCPath([FromBody] dynamic data)
|
||||
public IHttpActionResult SetVNCPath([FromBody] VNCPathRequest data)
|
||||
{
|
||||
try
|
||||
{
|
||||
string path = data.path;
|
||||
string path = data.Path;
|
||||
if (string.IsNullOrEmpty(path))
|
||||
{
|
||||
return BadRequest("VNC Viewer 경로가 제공되지 않았습니다.");
|
||||
|
||||
Reference in New Issue
Block a user