mirror of https://github.com/kiwix/libkiwix.git
+ add alternative favicon urls
This commit is contained in:
parent
5b679f6b1b
commit
86dae55c18
|
@ -140,6 +140,16 @@ namespace kiwix {
|
||||||
contentLength, mimeType);
|
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;
|
return content.empty() ? false : true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue