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:
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user