1
0
mirror of https://github.com/bitwarden/server synced 2025-12-18 09:13:19 +00:00
Files
server/src/Identity/Controllers/MiscController.cs
Vince Grassia 179543d790 Add 'alive' endpoint to Admin and Identity services (#1505)
* Add 'alive' endpoint to Admin and Identity services

* Move 'alive' endpoint for Admin to Home Controller
2021-08-10 15:29:13 -04:00

18 lines
325 B
C#

using System;
using Microsoft.AspNetCore.Mvc;
namespace Bit.Identity.Controllers
{
public class MiscController : Controller
{
public MiscController() { }
[HttpGet("~/alive")]
[HttpGet("~/now")]
public DateTime Get()
{
return DateTime.UtcNow;
}
}
}