浏览代码

Merge pull request #690 from BlackDex/icon-download-http

Added http favicon url when response failed
Daniel García 6 年之前
父节点
当前提交
77b78f0991
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/api/icons.rs

+ 1 - 0
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