commit 77b78f09913e70c5f313980657b5c9ba02c2eb3b
parent 97d41c2686b9bdf4429d614c2f8c7ba4d7fbb546
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Tue, 29 Oct 2019 15:02:59 +0100
Merge pull request #690 from BlackDex/icon-download-http
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