mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
allow alive check on cloud an self host
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user