15 lines
403 B
C#
15 lines
403 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace AVSCartonShipmentVerifier.Controllers;
|
|
|
|
/// <summary>
|
|
/// Lightweight endpoints for desktop host startup (no database or dashboard work).
|
|
/// </summary>
|
|
[ApiController]
|
|
public sealed class DesktopHostController : ControllerBase
|
|
{
|
|
[HttpGet("/health")]
|
|
[HttpGet("/api/desktop-host/ready")]
|
|
public IActionResult Ready() => Ok(new { ready = true });
|
|
}
|