Specs says ZIM favicon should be at '-/favicon', should be tried first

This commit is contained in:
Emmanuel Engelhart 2019-08-14 20:23:19 +02:00 committed by Matthieu Gautier
parent d0f6fadda2
commit cea201b394
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ Entry Reader::getMainPage() 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) {
try {