mirror of
https://github.com/bitwarden/server.git
synced 2025-04-16 02:28:13 -05:00
GetAlive for icons server
This commit is contained in:
parent
928e1b6ad4
commit
00d1bbf0ee
@ -31,6 +31,13 @@ namespace Bit.Icons.Controllers
|
|||||||
_iconsSettings = iconsSettings;
|
_iconsSettings = iconsSettings;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[HttpGet("~/alive")]
|
||||||
|
[HttpGet("~/now")]
|
||||||
|
public DateTime GetAlive()
|
||||||
|
{
|
||||||
|
return DateTime.UtcNow;
|
||||||
|
}
|
||||||
|
|
||||||
[HttpGet("{hostname}/icon.png")]
|
[HttpGet("{hostname}/icon.png")]
|
||||||
public async Task<IActionResult> Get(string hostname)
|
public async Task<IActionResult> Get(string hostname)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user