aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/getting_started.ezdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/guide/getting_started.ezdoc')
-rw-r--r--doc/src/guide/getting_started.ezdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/guide/getting_started.ezdoc b/doc/src/guide/getting_started.ezdoc
index a959b45..deb7bf2 100644
--- a/doc/src/guide/getting_started.ezdoc
+++ b/doc/src/guide/getting_started.ezdoc
@@ -121,7 +121,7 @@ start(_Type, _Args) ->
Dispatch = cowboy_router:compile([
{'_', [{"/", hello_handler, []}]}
]),
- cowboy:start_http(my_http_listener, 100, [{port, 8080}],
+ {ok, _} = cowboy:start_http(my_http_listener, 100, [{port, 8080}],
[{env, [{dispatch, Dispatch}]}]
),
hello_erlang_sup:start_link().