simple app
This commit is contained in:
+7
-1
@@ -1,6 +1,12 @@
|
||||
#include <iostream>
|
||||
#include "../include/crow_all.h"
|
||||
#include <iostream>
|
||||
|
||||
int main() {
|
||||
std::cout << "Hello World!" << std::endl;
|
||||
|
||||
crow::SimpleApp app;
|
||||
|
||||
CROW_ROUTE(app, "/")([]() { return "Hello world"; });
|
||||
|
||||
app.port(3000).multithreaded().run();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user