From 936a756ca16272d02494f9f7077ffa51749760a3 Mon Sep 17 00:00:00 2001 From: ipknHama Date: Tue, 1 Apr 2014 22:58:52 +0900 Subject: multiple routing (still no argument) --- example.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'example.cpp') 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(); } -- cgit v1.2.3-54-g00ecf