Modified code to work with new module system

multi_plaform
anulax1225 ago%!(EXTRA string=1 year)
parent 8a6e7407d6
commit 5bbec9ba92
  1. 2
      sandbox/server/main.cpp

@ -10,7 +10,6 @@ int main()
HttpServer server(ip, PORT);
server.get("/", [](HttpRequest req)
{
log("Path /")
HttpReponse res(HTTP_RES_200, req.version);
res.body = "<p>Hello World! " + req.url + "</p>";
return res;
@ -18,7 +17,6 @@ int main()
server.get("/home/", [](HttpRequest req)
{
log("Path /home/")
HttpReponse res(HTTP_RES_200, req.version);
res.body = "<p>Hello World! " + req.url + "</p>";
return res;

Loading…
Cancel
Save