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