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