mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 17:42:49 -05:00
health checks for docker
This commit is contained in:
@ -6,6 +6,14 @@ namespace Billing.Controllers
|
||||
{
|
||||
public class HomeController : Controller
|
||||
{
|
||||
[HttpGet("~/alive")]
|
||||
[HttpGet("~/now")]
|
||||
[AllowAnonymous]
|
||||
public DateTime GetAlive()
|
||||
{
|
||||
return DateTime.UtcNow;
|
||||
}
|
||||
|
||||
/*
|
||||
[Authorize]
|
||||
public IActionResult Index()
|
||||
|
Reference in New Issue
Block a user