mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
added alive controller and endpoint
This commit is contained in:
parent
9914399e8b
commit
1da53f0ecc
15
src/Api/Controllers/AliveController.cs
Normal file
15
src/Api/Controllers/AliveController.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using Microsoft.AspNet.Mvc;
|
||||
|
||||
namespace Bit.Api.Controllers
|
||||
{
|
||||
[Route("alive")]
|
||||
public class AliveController : Controller
|
||||
{
|
||||
[HttpGet("")]
|
||||
public DateTime Get()
|
||||
{
|
||||
return DateTime.UtcNow;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user