1
0
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:
Kyle Spearrin 2017-10-20 22:04:10 -04:00
parent 97bfa00657
commit 0813b290b6

View File

@ -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)
{