mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
7e4f1494d2
Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
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();
|
|
}
|