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