mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
Small html syntax fix.
This commit is contained in:
parent
566717c075
commit
4d6e1e5dd9
@ -22,14 +22,14 @@ void Application::setup_middleware() {
|
||||
}
|
||||
|
||||
void Application::default_fallback_error_handler(int error_code, Request *request) {
|
||||
std::string body = "<html>Internal server error! :(</html>";
|
||||
std::string body = "<html><body>Internal server error! :(</body></html>";
|
||||
request->response->setBody(body);
|
||||
request->finalized = true;
|
||||
request->send();
|
||||
}
|
||||
|
||||
void Application::default_404_error_handler(int error_code, Request *request) {
|
||||
std::string body = "<html>404 :(</html>";
|
||||
std::string body = "<html><body>404 :(</body></html>";
|
||||
request->response->setBody(body);
|
||||
request->finalized = true;
|
||||
request->send();
|
||||
|
Loading…
Reference in New Issue
Block a user