Browse Source

Fix getting started example, missing env

Loïc Hoguin 12 years ago
parent
commit
1d45698757
1 changed files with 1 additions and 1 deletions
  1. 1 1
      guide/introduction.md

+ 1 - 1
guide/introduction.md

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