From a197c0219e75797cc01b8e6e3bfcd73a04a3da51 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 20 Oct 2017 16:18:30 -0400 Subject: [PATCH] hostnameUri fix --- src/App/Models/Page/VaultListPageModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/Models/Page/VaultListPageModel.cs b/src/App/Models/Page/VaultListPageModel.cs index 8390f6e3c..f221a43f3 100644 --- a/src/App/Models/Page/VaultListPageModel.cs +++ b/src/App/Models/Page/VaultListPageModel.cs @@ -48,7 +48,7 @@ namespace Bit.App.Models.Page isWebsite = hostnameUri.StartsWith("http") && hostnameUri.Contains("."); } - if(imageEnabled && isWebsite && Uri.TryCreate(LoginUri, UriKind.Absolute, out Uri u)) + if(imageEnabled && isWebsite && Uri.TryCreate(hostnameUri, UriKind.Absolute, out Uri u)) { Icon = "https://icons.bitwarden.com/" + u.Host + "/icon.png"; }