1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

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
This commit is contained in:
Vince Grassia
2021-08-10 15:29:13 -04:00
committed by GitHub
parent 7928b25796
commit 179543d790
2 changed files with 24 additions and 0 deletions

View File

@ -29,6 +29,13 @@ namespace Bit.Admin.Controllers
CurrentVersion = Core.Utilities.CoreHelpers.GetVersion()
});
}
[HttpGet("~/alive")]
[HttpGet("~/now")]
public DateTime Get()
{
return DateTime.UtcNow;
}
public IActionResult Error()
{