mirror of https://github.com/kiwix/libkiwix.git
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:
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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue