crowsite/libs/crow/examples/helloworld.cpp

14 lines
165 B
C++
Raw Normal View History

2023-08-25 03:48:59 -04:00
#include "crow.h"
int main()
{
crow::SimpleApp app;
CROW_ROUTE(app, "/")
([]() {
return "Hello, world!";
});
app.port(18080).run();
}