mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Fix getting started example, missing env
This commit is contained in:
parent
10e3692fa6
commit
1d45698757
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ Dispatch = [
|
|||
%% Name, NbAcceptors, TransOpts, ProtoOpts
|
||||
cowboy:start_http(my_http_listener, 100,
|
||||
[{port, 8080}],
|
||||
[{dispatch, Dispatch}]
|
||||
[{env, [{dispatch, Dispatch}]}]
|
||||
).
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue