fix(api): test ip
This commit is contained in:
@@ -45,12 +45,5 @@ namespace PARR.API.Controllers.V1
|
||||
|
||||
return Ok(new Response<ApiHealthResponse>(response, true));
|
||||
}
|
||||
|
||||
[HttpGet("/get-ip")]
|
||||
public IActionResult Test()
|
||||
{
|
||||
var ip = HttpContext.Connection.RemoteIpAddress?.MapToIPv4();
|
||||
return Ok(ip.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user