mirror of
https://github.com/bitwarden/server
synced 2025-12-18 09:13:19 +00: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