mirror of https://github.com/kiwix/libkiwix.git
Specs says ZIM favicon should be at '-/favicon', should be tried… (#257)
Specs says ZIM favicon should be at '-/favicon', should be tried first
This commit is contained in:
commit
5f81fab1e2
|
@ -258,7 +258,7 @@ Entry Reader::getMainPage() const
|
||||||
|
|
||||||
bool Reader::getFavicon(string& content, string& mimeType) const
|
bool Reader::getFavicon(string& content, string& mimeType) const
|
||||||
{
|
{
|
||||||
static const char* const paths[] = {"-/favicon.png", "I/favicon.png", "I/favicon", "-/favicon"};
|
static const char* const paths[] = {"-/favicon", "-/favicon.png", "I/favicon.png", "I/favicon"};
|
||||||
|
|
||||||
for (auto &path: paths) {
|
for (auto &path: paths) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue