aboutsummaryrefslogtreecommitdiffstats
path: root/examples/echo_post/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/echo_post/src')
-rw-r--r--examples/echo_post/src/echo_post_app.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/echo_post/src/echo_post_app.erl b/examples/echo_post/src/echo_post_app.erl
index 93f3bd5..83b4b3f 100644
--- a/examples/echo_post/src/echo_post_app.erl
+++ b/examples/echo_post/src/echo_post_app.erl
@@ -17,7 +17,7 @@ start(_Type, _Args) ->
]}
],
{ok, _} = cowboy:start_http(http, 100, [{port, 8080}], [
- {dispatch, Dispatch}
+ {env, [{dispatch, Dispatch}]}
]),
echo_post_sup:start_link().