summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/src/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/web/src/main.cpp b/web/src/main.cpp
new file mode 100644
index 0000000..248328f
--- /dev/null
+++ b/web/src/main.cpp
@@ -0,0 +1,10 @@
+#include "crow/app.h"
+
+int main(int argc, char *argv[]) {
+ crow::SimpleApp app;
+
+ CROW_ROUTE(app, "/")([]() { return "hi"; });
+
+ app.multithreaded().port(18083).run();
+ return 0;
+}