From ee550be80cb3ee6d1c64fcd30f8a49008167c2f4 Mon Sep 17 00:00:00 2001 From: BlackDex Date: Tue, 29 Oct 2019 14:24:01 +0100 Subject: [PATCH] Added http favicon url when response failed --- src/api/icons.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/icons.rs b/src/api/icons.rs index 31e7f69c..ad692d5d 100644 --- a/src/api/icons.rs +++ b/src/api/icons.rs @@ -259,6 +259,7 @@ fn get_icon_url(domain: &str) -> Result<(Vec, String), Error> { } else { // Add the default favicon.ico to the list with just the given domain iconlist.push(Icon::new(35, format!("{}/favicon.ico", ssldomain))); + iconlist.push(Icon::new(35, format!("{}/favicon.ico", httpdomain))); } // Sort the iconlist by priority