mirror of
https://github.com/bitwarden/server.git
synced 2025-05-21 03:24:31 -05: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…
x
Reference in New Issue
Block a user