diff options
Diffstat (limited to 'examples/rest_hello_world')
-rw-r--r-- | examples/rest_hello_world/src/rest_hello_world_app.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rest_hello_world/src/rest_hello_world_app.erl b/examples/rest_hello_world/src/rest_hello_world_app.erl index 510dbb1..c7f608c 100644 --- a/examples/rest_hello_world/src/rest_hello_world_app.erl +++ b/examples/rest_hello_world/src/rest_hello_world_app.erl @@ -17,7 +17,7 @@ start(_Type, _Args) -> ]} ], {ok, _} = cowboy:start_http(http, 100, [{port, 8080}], [ - {dispatch, Dispatch} + {env, [{dispatch, Dispatch}]} ]), rest_hello_world_sup:start_link(). |