mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 09:02:48 -05:00
health checks for docker
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using System.IO;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Bit.Core.Utilities;
|
||||
@ -19,6 +20,14 @@ namespace Bit.Notifications
|
||||
_hubContext = hubContext;
|
||||
}
|
||||
|
||||
[HttpGet("~/alive")]
|
||||
[HttpGet("~/now")]
|
||||
[AllowAnonymous]
|
||||
public DateTime GetAlive()
|
||||
{
|
||||
return DateTime.UtcNow;
|
||||
}
|
||||
|
||||
[HttpPost("~/send")]
|
||||
public async Task PostSend()
|
||||
{
|
||||
|
Reference in New Issue
Block a user