summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/src/main.cpp b/web/src/main.cpp
index 2b4aaba..700e71a 100644
--- a/web/src/main.cpp
+++ b/web/src/main.cpp
@@ -6,9 +6,9 @@ int main(int argc, char *argv[]) {
CROW_ROUTE(app, "/")
([]() {
- auto page = crow::mustache::load_text("index.html");
+ auto page = crow::mustache::load("index.html");
- return page;
+ return page.render();
});
app.multithreaded().port(18083).run();