14 lines
165 B
C++
14 lines
165 B
C++
|
#include "crow.h"
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
crow::SimpleApp app;
|
||
|
|
||
|
CROW_ROUTE(app, "/")
|
||
|
([]() {
|
||
|
return "Hello, world!";
|
||
|
});
|
||
|
|
||
|
app.port(18080).run();
|
||
|
}
|