mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Undid the demo of frontend-side error page translation
This undoes frontend-side translation of the demo case with the purpose of having "clean" unit tests to support further work on this PR.
This commit is contained in:
committed by
Matthieu Gautier
parent
103a4516db
commit
e1f067c086
@ -1133,7 +1133,7 @@ std::unique_ptr<Response> InternalServer::handle_content(const RequestContext& r
|
||||
|
||||
if (archive == nullptr) {
|
||||
const std::string searchURL = m_root + "/search?pattern=" + kiwix::urlEncode(pattern);
|
||||
return UrlNotFoundResponse(request, true)
|
||||
return UrlNotFoundResponse(request)
|
||||
+ suggestSearchMsg(searchURL, kiwix::urlDecode(pattern));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user