mirror of
https://github.com/bitwarden/server.git
synced 2024-12-23 17:07:42 +01:00
larger fallback URL for mobile
This commit is contained in:
parent
97bfa00657
commit
0813b290b6
@ -45,7 +45,8 @@ namespace Bit.Icons.Controllers
|
||||
if(!_memoryCache.TryGetValue(mappedDomain, out Icon icon))
|
||||
{
|
||||
var iconUrl = $"{_iconsSettings.BestIconBaseUrl}/icon?url={mappedDomain}&size=16..24..32" +
|
||||
$"&fallback_icon_url=https://raw.githubusercontent.com/bitwarden/web/master/src/images/fa-globe.png";
|
||||
$"&fallback_icon_url=https://raw.githubusercontent.com/bitwarden/mobile/master/src/Android/Resources/" +
|
||||
"drawable-xxxhdpi/login.png";
|
||||
var response = await _httpClient.GetAsync(iconUrl);
|
||||
if(!response.IsSuccessStatusCode)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user