1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-23 14:05:10 -05:00

allow alive check on cloud an self host

This commit is contained in:
Kyle Spearrin 2019-08-31 12:22:42 -04:00
parent 32247fec2b
commit f37f335120

@ -23,6 +23,7 @@ namespace Bit.Notifications
[HttpGet("~/alive")] [HttpGet("~/alive")]
[HttpGet("~/now")] [HttpGet("~/now")]
[AllowAnonymous] [AllowAnonymous]
[SelfHosted(SelfHostedOnly = false, NotSelfHostedOnly = false)]
public DateTime GetAlive() public DateTime GetAlive()
{ {
return DateTime.UtcNow; return DateTime.UtcNow;