mirror of
https://github.com/yawaflua/SkinsApi.git
synced 2025-12-10 20:39:35 +02:00
Add ping controller and cleaning code
This commit is contained in:
15
Controllers/Default/PingController.cs
Normal file
15
Controllers/Default/PingController.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace SkinsApi.Controllers.Default
|
||||
{
|
||||
[Route("/ping")]
|
||||
[ApiController]
|
||||
public class PingController : ControllerBase
|
||||
{
|
||||
[HttpGet]
|
||||
public async Task<IActionResult> Ping()
|
||||
{
|
||||
return Ok("Pong");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user