From 33461ecdbd1554165d395bf63907e4f3e08712fc Mon Sep 17 00:00:00 2001 From: Unix1 Date: Sat, 5 Jan 2013 19:19:14 -0800 Subject: Fix examples to follow new env tuple standard This brings examples in line with the recent Middleware change. --- examples/chunked_hello_world/src/chunked_hello_world_app.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/chunked_hello_world/src') 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(). -- cgit v1.2.3