mirror of
https://github.com/bitwarden/server.git
synced 2026-02-04 08:03:29 +08:00
Standardize '/version' endpoint on all services (#1755)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Bit.Admin.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
@@ -29,13 +28,6 @@ namespace Bit.Admin.Controllers
|
||||
CurrentVersion = Core.Utilities.CoreHelpers.GetVersion()
|
||||
});
|
||||
}
|
||||
|
||||
[HttpGet("~/alive")]
|
||||
[HttpGet("~/now")]
|
||||
public DateTime Get()
|
||||
{
|
||||
return DateTime.UtcNow;
|
||||
}
|
||||
|
||||
public IActionResult Error()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user