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:
Veloman Yunkan 2024-01-07 17:33:41 +04:00 committed by Matthieu Gautier
parent 103a4516db
commit e1f067c086
1 changed files with 1 additions and 1 deletions

View File

@ -1133,7 +1133,7 @@ std::unique_ptr<Response> InternalServer::handle_content(const RequestContext& r
if (archive == nullptr) { if (archive == nullptr) {
const std::string searchURL = m_root + "/search?pattern=" + kiwix::urlEncode(pattern); const std::string searchURL = m_root + "/search?pattern=" + kiwix::urlEncode(pattern);
return UrlNotFoundResponse(request, true) return UrlNotFoundResponse(request)
+ suggestSearchMsg(searchURL, kiwix::urlDecode(pattern)); + suggestSearchMsg(searchURL, kiwix::urlDecode(pattern));
} }