mirror of
https://github.com/bitwarden/server
synced 2025-12-06 00:03:34 +00:00
added alive controller and endpoint
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user