diff --git a/sandbox/server/main.cpp b/sandbox/server/main.cpp index 7c8cb0c..4f2b8d7 100755 --- a/sandbox/server/main.cpp +++ b/sandbox/server/main.cpp @@ -12,7 +12,9 @@ int main() server.get("/", [](HttpRequest& req) { BK_INFO("URL /"); - return HttpReponse("", ""); + HttpReponse res(HTTP_RES_200, req.version); + res.body = "

Coucou de /

"; + return res; }); server.get("/home/", [](HttpRequest& req) {