mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-25 21:30:10 -04:00
Don't append "containing ..." to the suggestions if no search index available
This commit is contained in:
parent
b38c4306d1
commit
7329997959
@ -245,7 +245,7 @@ static int accessHandlerCallback(void *cls,
|
||||
}
|
||||
|
||||
/* Get static skin stuff */
|
||||
else if (urlStr.size() > 5 && urlStr.substr(0, 6) == "/skin/") {
|
||||
else if (urlStr.substr(0, 6) == "/skin/") {
|
||||
content = getResourceAsString(urlStr.substr(6));
|
||||
mimeType = getMimeTypeForFile(urlStr);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user