mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-09-22 11:45:45 -04:00
+ 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…
x
Reference in New Issue
Block a user