mirror of
https://github.com/kiwix/libkiwix.git
synced 2026-10-26 10:59:23 -04:00
+ add alternative favicon urls
This commit is contained in:
1 parent
5b679f6b1b
commit
86dae55c18
1 file changed
+10
@@ -140,6 +140,16 @@ namespace kiwix {
|
||||
contentLength, mimeType);
|
||||
}
|
||||
|
||||
if (content.empty()) {
|
||||
this->getContentByUrl( "/I/favicon", content,
|
||||
contentLength, mimeType);
|
||||
}
|
||||
|
||||
if (content.empty()) {
|
||||
this->getContentByUrl( "/-/favicon", content,
|
||||
contentLength, mimeType);
|
||||
}
|
||||
|
||||
return content.empty() ? false : true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user