mirror of
https://github.com/bitwarden/server.git
synced 2025-04-15 18:18:12 -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;
|
||||
}
|
||||
|
||||
[HttpGet("~/alive")]
|
||||
[HttpGet("~/now")]
|
||||
public DateTime GetAlive()
|
||||
{
|
||||
return DateTime.UtcNow;
|
||||
}
|
||||
|
||||
[HttpGet("{hostname}/icon.png")]
|
||||
public async Task<IActionResult> Get(string hostname)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user