Skip to content

Commit

Permalink
Undid the demo of frontend-side error page translation
Browse files Browse the repository at this point in the history
This undoes frontend-side translation of the demo case with the purpose
of having "clean" unit tests to support further work on this PR.
  • Loading branch information
veloman-yunkan committed Jan 9, 2024
1 parent 151cfce commit c349d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/internalServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit c349d73

Please sign in to comment.