mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 20:50:24 +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
|
%% Name, NbAcceptors, TransOpts, ProtoOpts
|
||||||
cowboy:start_http(my_http_listener, 100,
|
cowboy:start_http(my_http_listener, 100,
|
||||||
[{port, 8080}],
|
[{port, 8080}],
|
||||||
[{dispatch, Dispatch}]
|
[{env, [{dispatch, Dispatch}]}]
|
||||||
).
|
).
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue