mirror of
https://github.com/bitwarden/server
synced 2025-12-18 09:13:19 +00:00
* Add 'alive' endpoint to Admin and Identity services * Move 'alive' endpoint for Admin to Home Controller
18 lines
325 B
C#
18 lines
325 B
C#
using System;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace Bit.Identity.Controllers
|
|
{
|
|
public class MiscController : Controller
|
|
{
|
|
public MiscController() { }
|
|
|
|
[HttpGet("~/alive")]
|
|
[HttpGet("~/now")]
|
|
public DateTime Get()
|
|
{
|
|
return DateTime.UtcNow;
|
|
}
|
|
}
|
|
}
|