1
0
mirror of https://github.com/bitwarden/server synced 2025-12-15 15:53:59 +00:00

GetAlive for icons server

This commit is contained in:
Kyle Spearrin
2019-08-03 23:26:34 -04:00
parent 928e1b6ad4
commit 00d1bbf0ee

View File

@@ -31,6 +31,13 @@ namespace Bit.Icons.Controllers
_iconsSettings = iconsSettings;
}
[HttpGet("~/alive")]
[HttpGet("~/now")]
public DateTime GetAlive()
{
return DateTime.UtcNow;
}
[HttpGet("{hostname}/icon.png")]
public async Task<IActionResult> Get(string hostname)
{