mirror of
https://github.com/bitwarden/server
synced 2026-01-14 06:23:46 +00:00
26 lines
482 B
C#
26 lines
482 B
C#
using System;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace Billing.Controllers
|
|
{
|
|
public class HomeController : Controller
|
|
{
|
|
[HttpGet("~/alive")]
|
|
[HttpGet("~/now")]
|
|
[AllowAnonymous]
|
|
public DateTime GetAlive()
|
|
{
|
|
return DateTime.UtcNow;
|
|
}
|
|
|
|
/*
|
|
[Authorize]
|
|
public IActionResult Index()
|
|
{
|
|
return View();
|
|
}
|
|
*/
|
|
}
|
|
}
|