mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 17:12:49 -05:00

* Revert "Add git blame entry (#2226)" This reverts commit239286737d
. * Revert "Turn on file scoped namespaces (#2225)" This reverts commit34fb4cca2a
.
22 lines
446 B
C#
22 lines
446 B
C#
using Bit.Core.Utilities;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace Bit.Billing.Controllers
|
|
{
|
|
public class InfoController : Controller
|
|
{
|
|
[HttpGet("~/alive")]
|
|
[HttpGet("~/now")]
|
|
public DateTime GetAlive()
|
|
{
|
|
return DateTime.UtcNow;
|
|
}
|
|
|
|
[HttpGet("~/version")]
|
|
public JsonResult GetVersion()
|
|
{
|
|
return Json(CoreHelpers.GetVersion());
|
|
}
|
|
}
|
|
}
|