forked from sixonionpotatoes/commons
initial commit
This commit is contained in:
15
src/main.cpp
Normal file
15
src/main.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <iostream>
|
||||
#include <boost/asio.hpp>
|
||||
#include "crow.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
crow::SimpleApp app;
|
||||
|
||||
CROW_ROUTE(app, "/")([]() {
|
||||
return "Hello World";
|
||||
});
|
||||
|
||||
app.port(18080).run();
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user