0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Fix getting started example, missing env

This commit is contained in:
Loïc Hoguin 2013-01-11 16:55:11 +01:00
parent 10e3692fa6
commit 1d45698757

View file

@ -78,7 +78,7 @@ Dispatch = [
%% Name, NbAcceptors, TransOpts, ProtoOpts
cowboy:start_http(my_http_listener, 100,
[{port, 8080}],
[{dispatch, Dispatch}]
[{env, [{dispatch, Dispatch}]}]
).
```