diff --git a/src/common/kiwix/reader.cpp b/src/common/kiwix/reader.cpp index f825ba8cf..f86afecf8 100644 --- a/src/common/kiwix/reader.cpp +++ b/src/common/kiwix/reader.cpp @@ -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; }