diff options
Diffstat (limited to 'example.cpp')
-rw-r--r-- | example.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/example.cpp b/example.cpp index 904e1ff..9357967 100644 --- a/example.cpp +++ b/example.cpp @@ -11,6 +11,11 @@ int main() return "Hello World!"; }); + app.route("/about", + []{ + return "About Flask example."; + }); + app.port(8080) .run(); } |