blob: 2b4aabad6dd5653de8a5c24ac44d25d3f1559850 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "crow/app.h"
#include "crow/mustache.h"
int main(int argc, char *argv[]) {
crow::SimpleApp app;
CROW_ROUTE(app, "/")
([]() {
auto page = crow::mustache::load_text("index.html");
return page;
});
app.multithreaded().port(18083).run();
return 0;
}
|