mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
+ add alternative favicon urls
This commit is contained in:
@ -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