aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAntony Woods <acron1@gmail.com>2014-10-14 18:25:22 +0100
committerAntony Woods <acron1@gmail.com>2014-10-14 18:25:22 +0100
commit6a2def410cc2559aeb7a9d34821b5d195672fb3b (patch)
treede0733229c28f9ef706bafd5276d9d200c573281 /examples
parent06842721d7da53a2235e6e4071760588ec285f90 (diff)
parenta5fab23f70e6e33c633ba4b646a41d0851169ad1 (diff)
downloadcrow-6a2def410cc2559aeb7a9d34821b5d195672fb3b.tar.gz
crow-6a2def410cc2559aeb7a9d34821b5d195672fb3b.zip
Fixed merge oddities
Diffstat (limited to 'examples')
-rw-r--r--examples/example_chat.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/example_chat.cpp b/examples/example_chat.cpp
index 31f16c5..aa7cc96 100644
--- a/examples/example_chat.cpp
+++ b/examples/example_chat.cpp
@@ -79,6 +79,7 @@ int main()
});
CROW_ROUTE(app, "/send")
+ .methods("GET"_method, "POST"_method)
([](const crow::request& req)
{
CROW_LOG_INFO << "msg from client: " << req.body;