From 4d6e1e5dd9a9d70b495ba74e78e801087344e741 Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 26 Nov 2020 11:27:14 +0100 Subject: [PATCH] Small html syntax fix. --- core/application.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/application.cpp b/core/application.cpp index ed92d18..ce9b555 100644 --- a/core/application.cpp +++ b/core/application.cpp @@ -22,14 +22,14 @@ void Application::setup_middleware() { } void Application::default_fallback_error_handler(int error_code, Request *request) { - std::string body = "Internal server error! :("; + std::string body = "Internal server error! :("; request->response->setBody(body); request->finalized = true; request->send(); } void Application::default_404_error_handler(int error_code, Request *request) { - std::string body = "404 :("; + std::string body = "404 :("; request->response->setBody(body); request->finalized = true; request->send();