commit ee550be80cb3ee6d1c64fcd30f8a49008167c2f4
parent 97d41c2686b9bdf4429d614c2f8c7ba4d7fbb546
Author: BlackDex <black.dex@gmail.com>
Date: Tue, 29 Oct 2019 14:24:01 +0100
Added http favicon url when response failed
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/api/icons.rs b/src/api/icons.rs
@@ -259,6 +259,7 @@ fn get_icon_url(domain: &str) -> Result<(Vec<Icon>, 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