14 lines
422 B
C#
14 lines
422 B
C#
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using MoonlightServers.Api.Infrastructure.Implementations.NodeToken;
|
|
|
|
namespace MoonlightServers.Api.Remote.Nodes;
|
|
|
|
[ApiController]
|
|
[Route("api/remote/servers/nodes/ping")]
|
|
[Authorize(AuthenticationSchemes = NodeTokenSchemeHandler.SchemeName)]
|
|
public class PingController : Controller
|
|
{
|
|
[HttpGet]
|
|
public ActionResult Get() => NoContent();
|
|
} |