Fix ping route

pull/19/head
Pat Hartl 2023-03-14 02:35:39 -05:00
parent cad74115e1
commit 4ae2e273ff
1 changed files with 4 additions and 1 deletions

View File

@ -2,8 +2,11 @@
namespace LANCommander.Controllers.Api
{
public class PingController : Controller
[Route("api/[controller]")]
[ApiController]
public class PingController : ControllerBase
{
[HttpGet]
public IActionResult Index()
{
return Ok("Pong!");