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