diff options
Diffstat (limited to 'examples/eventsource')
-rw-r--r-- | examples/eventsource/src/eventsource_app.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/eventsource/src/eventsource_app.erl b/examples/eventsource/src/eventsource_app.erl index a5f4289..b83a276 100644 --- a/examples/eventsource/src/eventsource_app.erl +++ b/examples/eventsource/src/eventsource_app.erl @@ -17,7 +17,7 @@ start(_Type, _Args) -> {"/", cowboy_static, {priv_file, eventsource, "index.html"}} ]} ]), - {ok, _} = cowboy:start_clear(http, 100, [{port, 8080}], #{ + {ok, _} = cowboy:start_clear(http, [{port, 8080}], #{ env => #{dispatch => Dispatch} }), eventsource_sup:start_link(). |